projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7a9678
)
_trees_dict: define __slots__
author
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Oct 2011 03:34:34 +0000
(20:34 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Oct 2011 03:34:34 +0000
(20:34 -0700)
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index e4abab371f3d39c28f3c992fa91ac0f13aeb7039..27353a1e8b2d5ba2efd033b33767b00637d8a943 100644
(file)
--- 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