Add comma to ("__weakref__",) so that it's a tuple instead of a string.
authorZac Medico <zmedico@gentoo.org>
Mon, 28 Apr 2008 06:00:11 +0000 (06:00 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 28 Apr 2008 06:00:11 +0000 (06:00 -0000)
Thanks to ferringb.

svn path=/main/trunk/; revision=10020

pym/_emerge/__init__.py

index 9476343540a3f35f43b81a0b6d82699f2c02fcde..2309eb4d84db4533d28a8d7aaa0f1ee626affe8d 100644 (file)
@@ -831,7 +831,7 @@ def filter_iuse_defaults(iuse):
                        yield flag
 
 class SlotObject(object):
-       __slots__ = ("__weakref__")
+       __slots__ = ("__weakref__",)
 
        def __init__(self, **kwargs):
                classes = [self.__class__]