Use a tuple for __slots__ so that it's immutable.
authorZac Medico <zmedico@gentoo.org>
Sun, 29 Oct 2006 14:01:57 +0000 (14:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 29 Oct 2006 14:01:57 +0000 (14:01 -0000)
svn path=/main/trunk/; revision=4872

bin/emerge

index a7b2b0a298dfa50ec7f9a4ed7732c2cacfa7a25e..933b461d07a5c23b6ea27a8920d4579a4716046a 100755 (executable)
@@ -655,7 +655,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