projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
290d43a
)
Add medium-soft support to DepPriority.__str__().
author
Zac Medico
<zmedico@gentoo.org>
Sun, 1 Jul 2007 08:14:54 +0000
(08:14 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 1 Jul 2007 08:14:54 +0000
(08:14 -0000)
svn path=/main/trunk/; revision=7106
pym/emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index d7380c7d32cff36240c3a9e473a4d8944ce71694..4751056728c688b3f7cbc96420f49f59b6b3e6cc 100644
(file)
--- a/
pym/emerge/__init__.py
+++ b/
pym/emerge/__init__.py
@@
-679,8
+679,10
@@
class DepPriority(object):
myvalue = self.__int__()
if myvalue > self.MEDIUM:
return "hard"
- if myvalue > self.SOFT:
+ if myvalue > self.
MEDIUM_
SOFT:
return "medium"
+ if myvalue > self.SOFT:
+ return "medium-soft"
return "soft"
class FakeVartree(portage.vartree):