diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-10-18 10:35:56 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-10-18 10:35:56 +0000 |
commit | c5ea84851330ff931f7a5849ea86f990f47350f3 (patch) | |
tree | 527c0e0dec0acf857ad130d4d98860cec552da4e | |
parent | da48b4029f0f388f366f3be90e6513647cdb400d (diff) | |
download | portage-c5ea84851330ff931f7a5849ea86f990f47350f3.tar.gz portage-c5ea84851330ff931f7a5849ea86f990f47350f3.tar.bz2 portage-c5ea84851330ff931f7a5849ea86f990f47350f3.zip |
Don't initialize __weakref__ in the DepPriority constructor.
svn path=/main/trunk/; revision=4750
-rwxr-xr-x | bin/emerge | 2 |
1 files changed, 2 insertions, 0 deletions
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): |