Remove obsolete tuple() usage inside depgraph.display(). (trunk r10153)
authorZac Medico <zmedico@gentoo.org>
Sun, 4 May 2008 02:10:55 +0000 (02:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 4 May 2008 02:10:55 +0000 (02:10 -0000)
svn path=/main/branches/2.1.2/; revision=10154

bin/emerge

index 604b4f12508126da33df7a4c4da0c1498608f08b..e5d7db304c6d26e129d5465958793cfab89e0393 100755 (executable)
@@ -4199,8 +4199,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 \
@@ -4307,7 +4305,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]: