From d17bed21a1e923618cd70297fc7c50b30ecfe0fd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 May 2008 04:10:11 +0000 Subject: [PATCH] Define __slots__ for the _use_dep class. svn path=/main/trunk/; revision=10441 --- pym/portage/dep.py | 4 ++++ 1 file changed, 4 insertions(+) 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 = [] -- 2.26.2