From: Zac Medico Date: Sun, 4 May 2008 02:09:34 +0000 (-0000) Subject: Remove obsolete tuple() usage inside depgraph.display(). X-Git-Tag: v2.2_pre6~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1da1430e818adacef3a5cbdd614873a8eacca1ed;p=portage.git Remove obsolete tuple() usage inside depgraph.display(). svn path=/main/trunk/; revision=10153 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index ed04bc267..af1177991 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -4050,8 +4050,6 @@ class depgraph(object): shown_edges = set() for x in mylist: graph_key = x - if isinstance(graph_key, list): - graph_key = tuple(graph_key) if "--tree" in self.myopts: depth = len(tree_nodes) while depth and graph_key not in \ @@ -4158,7 +4156,7 @@ class depgraph(object): addl = addl + " " + red(resolved) else: addl = "[blocks " + addl + "] " + indent + red(resolved) - block_parents = self._blocker_parents.parent_nodes(tuple(x)) + block_parents = self._blocker_parents.parent_nodes(x) block_parents = set([pnode[2] for pnode in block_parents]) block_parents = ", ".join(block_parents) if resolved!=x[2]: