Add UnmergeDepPriority.optional attribute, to avoid traceback.
authorZac Medico <zmedico@gentoo.org>
Wed, 4 Feb 2009 00:24:50 +0000 (00:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 Feb 2009 00:24:50 +0000 (00:24 -0000)
svn path=/main/trunk/; revision=12579

pym/_emerge/__init__.py

index 1a28a21dccb63b2f8b428af1c709f02bfeea2882..4bd26824404739ba38954af2f033175c5cde32d6 100644 (file)
@@ -1002,7 +1002,7 @@ class BlockerDepPriority(DepPriority):
 BlockerDepPriority.instance = BlockerDepPriority()
 
 class UnmergeDepPriority(AbstractDepPriority):
-       __slots__ = ("satisfied",)
+       __slots__ = ("optional", "satisfied",)
        """
        Combination of properties           Priority  Category