From fc481b70711a512afb6e99c1c53e13c1bcbb1777 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 4 May 2008 02:10:55 +0000 Subject: [PATCH] Remove obsolete tuple() usage inside depgraph.display(). (trunk r10153) svn path=/main/branches/2.1.2/; revision=10154 --- bin/emerge | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/emerge b/bin/emerge index 604b4f125..e5d7db304 100755 --- a/bin/emerge +++ b/bin/emerge @@ -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]: -- 2.26.2