1 |
Author: zmedico |
2 |
Date: 2008-05-04 02:09:34 +0000 (Sun, 04 May 2008) |
3 |
New Revision: 10153 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Remove obsolete tuple() usage inside depgraph.display(). |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/_emerge/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/_emerge/__init__.py 2008-05-04 01:48:25 UTC (rev 10152) |
14 |
+++ main/trunk/pym/_emerge/__init__.py 2008-05-04 02:09:34 UTC (rev 10153) |
15 |
@@ -4050,8 +4050,6 @@ |
16 |
shown_edges = set() |
17 |
for x in mylist: |
18 |
graph_key = x |
19 |
- if isinstance(graph_key, list): |
20 |
- graph_key = tuple(graph_key) |
21 |
if "--tree" in self.myopts: |
22 |
depth = len(tree_nodes) |
23 |
while depth and graph_key not in \ |
24 |
@@ -4158,7 +4156,7 @@ |
25 |
addl = addl + " " + red(resolved) |
26 |
else: |
27 |
addl = "[blocks " + addl + "] " + indent + red(resolved) |
28 |
- block_parents = self._blocker_parents.parent_nodes(tuple(x)) |
29 |
+ block_parents = self._blocker_parents.parent_nodes(x) |
30 |
block_parents = set([pnode[2] for pnode in block_parents]) |
31 |
block_parents = ", ".join(block_parents) |
32 |
if resolved!=x[2]: |
33 |
|
34 |
-- |
35 |
gentoo-commits@l.g.o mailing list |