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

Unified Diff: pym/_emerge/UnmergeDepPriority.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/Dependency.py ('k') | pym/_emerge/create_depgraph_params.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pym/_emerge/UnmergeDepPriority.py
diff --git a/pym/_emerge/UnmergeDepPriority.py b/pym/_emerge/UnmergeDepPriority.py
index 0f67f3b78dd6f3d1febd348b65de6369c4c11762..db4836e5428b943de72af90d4dd7b25b58797065 100644
--- a/pym/_emerge/UnmergeDepPriority.py
+++ b/pym/_emerge/UnmergeDepPriority.py
@@ -3,7 +3,7 @@
from _emerge.AbstractDepPriority import AbstractDepPriority
class UnmergeDepPriority(AbstractDepPriority):
- __slots__ = ("optional", "satisfied",)
+ __slots__ = ("ignored", "optional", "satisfied",)
"""
Combination of properties Priority Category
@@ -32,6 +32,8 @@ class UnmergeDepPriority(AbstractDepPriority):
return -2
def __str__(self):
+ if self.ignored:
+ return "ignored"
myvalue = self.__int__()
if myvalue > self.SOFT:
return "hard"
« no previous file with comments | « pym/_emerge/Dependency.py ('k') | pym/_emerge/create_depgraph_params.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698