projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92d9c95
)
_ignore_satisfied_buildtime: tweak optional
author
Zac Medico
<zmedico@gentoo.org>
Sat, 6 Jul 2013 21:52:09 +0000
(14:52 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 6 Jul 2013 21:52:09 +0000
(14:52 -0700)
pym/_emerge/DepPrioritySatisfiedRange.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/DepPrioritySatisfiedRange.py
b/pym/_emerge/DepPrioritySatisfiedRange.py
index e5fdba9f1e3977b492b80ad166d4c82f17595375..391f5409bd7feceb6ab717c4ddb4adc192110f37 100644
(file)
--- a/
pym/_emerge/DepPrioritySatisfiedRange.py
+++ b/
pym/_emerge/DepPrioritySatisfiedRange.py
@@
-51,10
+51,11
@@
class DepPrioritySatisfiedRange(object):
def _ignore_satisfied_buildtime(cls, priority):
if priority.__class__ is not DepPriority:
return False
+ if priority.optional:
+ return True
if priority.buildtime_slot_op:
return False
- return bool(priority.optional or \
- priority.satisfied)
+ return bool(priority.satisfied)
@classmethod
def _ignore_satisfied_buildtime_slot_op(cls, priority):