From: Zac Medico Date: Sat, 29 Oct 2011 03:34:34 +0000 (-0700) Subject: _trees_dict: define __slots__ X-Git-Tag: v2.2.0_alpha72~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=81e1f72cc7c749b4c46bac995e144678dea2d3fe;p=portage.git _trees_dict: define __slots__ --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index e4abab371..27353a1e8 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -480,6 +480,7 @@ def portageexit(): close_portdbapi_caches() class _trees_dict(dict): + __slots__ = ('_running_eroot', '_target_eroot',) def __init__(self, *pargs, **kargs): dict.__init__(self, *pargs, **kargs) self._running_eroot = None