From c5ea84851330ff931f7a5849ea86f990f47350f3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 18 Oct 2006 10:35:56 +0000 Subject: [PATCH] Don't initialize __weakref__ in the DepPriority constructor. svn path=/main/trunk/; revision=4750 --- bin/emerge | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.26.2