From: Zac Medico Date: Sun, 1 Jul 2007 08:14:54 +0000 (-0000) Subject: Add medium-soft support to DepPriority.__str__(). X-Git-Tag: v2.2_pre1~1107 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5fd4df9938aa85efc849910603071f358f7b1249;p=portage.git Add medium-soft support to DepPriority.__str__(). svn path=/main/trunk/; revision=7106 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index d7380c7d3..475105672 100644 --- 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):