projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24bda41
)
Make DepPriority.__str__() indicate optional deps.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Feb 2009 20:40:24 +0000
(20:40 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Feb 2009 20:40:24 +0000
(20:40 -0000)
svn path=/main/trunk/; revision=12586
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 1a3b5fb0e4d22b45985c87832f3c63b53abfd248..036d9a0d884b24fec86d4b043850e9d25ebde437 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-985,6
+985,8
@@
class DepPriority(AbstractDepPriority):
return -7
def __str__(self):
+ if self.optional:
+ return "optional"
myvalue = self.__int__()
if myvalue > self.MEDIUM:
return "hard"