Add __weakref__ to __slots__ so that weakref support isn't disabled.
authorZac Medico <zmedico@gentoo.org>
Wed, 18 Oct 2006 10:09:42 +0000 (10:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 18 Oct 2006 10:09:42 +0000 (10:09 -0000)
svn path=/main/trunk/; revision=4749

bin/emerge

index 1bc29c9161c865a366b252810beeedf7a168c79a..47a1f32fe398714e9d65bd5191f6ac2b92a50ec3 100755 (executable)
@@ -655,7 +655,7 @@ class DepPriority(object):
                SOFT     The upper boundary for soft dependencies.
                MIN      The lower boundary for soft dependencies.
        """
-       __slots__ = ["satisfied", "buildtime", "runtime"]
+       __slots__ = ["__weakref__", "satisfied", "buildtime", "runtime"]
        MEDIUM = -1
        SOFT   = -2
        MIN    = -4