projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b38993
)
Fix deprecation warnings from paren_reduce.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 18 Aug 2010 20:45:19 +0000
(13:45 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 18 Aug 2010 20:45:19 +0000
(13:45 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 907c6f634a412299270a8d9c34772abce81af42f..dc4c707428a2056007e0cc56dd3e9641a76c25ea 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-4186,8
+4186,8
@@
class depgraph(object):
for flag, state in zip(affecting_use, use_state):
if state == "enabled":
current_use.append(flag)
- reduced_dep = portage.dep.
flatten( \
-
portage.dep.use_reduce(portage.dep.paren_reduce(dep), current_use)
)
+ reduced_dep = portage.dep.
use_reduce(dep,
+
uselist=current_use, flat=True
)
if parent_atom not in reduced_dep:
#we found a valid solution