From: Zac Medico Date: Tue, 27 May 2008 04:10:11 +0000 (-0000) Subject: Define __slots__ for the _use_dep class. X-Git-Tag: v2.2_pre8~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d17bed21a1e923618cd70297fc7c50b30ecfe0fd;p=portage.git Define __slots__ for the _use_dep class. svn path=/main/trunk/; revision=10441 --- diff --git a/pym/portage/dep.py b/pym/portage/dep.py index 8c819138f..a98979969 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -338,6 +338,10 @@ def dep_opconvert(deplist): return retlist class _use_dep(object): + + __slots__ = ("__weakref__", "conditional", "conditional_disabled", + "conditional_enabled", "disabled", "enabled", "tokens", "required") + def __init__(self, use): enabled_flags = [] disabled_flags = []