Merged from trunk 4871:4872
authorFabian Groffen <grobian@gentoo.org>
Sun, 29 Oct 2006 20:30:32 +0000 (20:30 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 29 Oct 2006 20:30:32 +0000 (20:30 -0000)
Use a tuple for __slots__ so that it's immutable.

svn path=/main/branches/prefix/; revision=4876

bin/emerge

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