Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1546)

Unified Diff: pym/_emerge/DepPriorityNormalRange.py

Issue 6905107: Rebuild when build-time/run-time deps are upgraded. (Closed) Base URL: git://git.overlays.gentoo.org/proj/portage.git@master
Patch Set: Address review feedback, add tests. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pym/_emerge/DepPriority.py ('k') | pym/_emerge/DepPrioritySatisfiedRange.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pym/_emerge/DepPriorityNormalRange.py
diff --git a/pym/_emerge/DepPriorityNormalRange.py b/pym/_emerge/DepPriorityNormalRange.py
index 259a1df6571bc96e3a2baffad6d5cbdddd36a273..808c9504b693d12fda038d3fe8f18f030ccfcc4b 100644
--- a/pym/_emerge/DepPriorityNormalRange.py
+++ b/pym/_emerge/DepPriorityNormalRange.py
@@ -33,7 +33,7 @@ class DepPriorityNormalRange(object):
def _ignore_runtime(cls, priority):
if priority.__class__ is not DepPriority:
return False
- return not priority.buildtime
+ return bool(priority.optional or not priority.buildtime)
ignore_medium = _ignore_runtime
ignore_medium_soft = _ignore_runtime_post
« no previous file with comments | « pym/_emerge/DepPriority.py ('k') | pym/_emerge/DepPrioritySatisfiedRange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698