From: Zac Medico Date: Wed, 18 Oct 2006 10:35:56 +0000 (-0000) Subject: Don't initialize __weakref__ in the DepPriority constructor. X-Git-Tag: v2.1.2~603 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5ea84851330ff931f7a5849ea86f990f47350f3;p=portage.git Don't initialize __weakref__ in the DepPriority constructor. svn path=/main/trunk/; revision=4750 --- diff --git a/bin/emerge b/bin/emerge index 47a1f32fe..938a55f5f 100755 --- a/bin/emerge +++ b/bin/emerge @@ -661,6 +661,8 @@ class DepPriority(object): MIN = -4 def __init__(self, **kwargs): for myattr in self.__slots__: + if myattr == "__weakref__": + continue myvalue = kwargs.get(myattr, False) setattr(self, myattr, myvalue) def __int__(self):