projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a7f26
)
Make DepPriority.__str__() indicate optional deps. (trunk r12586)
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 03:44:14 +0000
(
03:44
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 03:44:14 +0000
(
03:44
-0000)
svn path=/main/branches/2.1.6/; revision=12867
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index d7cce1e745e812c8d660168e74c56a73fe627aa7..179c908aa2461353d2b0a11c917fe626292cb6df 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-966,6
+966,8
@@
class DepPriority(AbstractDepPriority):
return -7
def __str__(self):
+ if self.optional:
+ return "optional"
myvalue = self.__int__()
if myvalue > self.MEDIUM:
return "hard"