projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
076a1a6
)
Fix --usepkgonly code in depgraph.select_files() so that it
author
Zac Medico
<zmedico@gentoo.org>
Sat, 17 Nov 2007 21:54:32 +0000
(21:54 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 17 Nov 2007 21:54:32 +0000
(21:54 -0000)
only operates on the Package type that it expects.
svn path=/main/trunk/; revision=8519
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 8df77b5587bb3bd2a2f880a1eabcf64100e0f673..5ad6714afe8135a950076b446e9a18a720a8d050 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-1986,6
+1986,8
@@
class depgraph(object):
missing=0
if "--usepkgonly" in self.myopts:
for xs in self.digraph.all_nodes():
+ if not isinstance(xs, Package):
+ continue
if len(xs) >= 4 and xs[0] != "binary" and xs[3] == "merge":
if missing == 0:
print