summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-04 02:09:34 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-04 02:09:34 +0000
commit1da1430e818adacef3a5cbdd614873a8eacca1ed (patch)
treea7d300d585fc5ff65c31d7b573a006b2acfdc8c8 /pym/_emerge
parentfc1891c8e446152601b6fbf4d377a76b5a70c6e9 (diff)
downloadportage-1da1430e818adacef3a5cbdd614873a8eacca1ed.tar.gz
portage-1da1430e818adacef3a5cbdd614873a8eacca1ed.tar.bz2
portage-1da1430e818adacef3a5cbdd614873a8eacca1ed.zip
Remove obsolete tuple() usage inside depgraph.display().
svn path=/main/trunk/; revision=10153
Diffstat (limited to 'pym/_emerge')
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 1 insertions, 3 deletions
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]: