diff options
-rw-r--r-- | pym/_emerge/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 1a3b5fb0e..036d9a0d8 100644 --- 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" |