1 |
commit: 81e1f72cc7c749b4c46bac995e144678dea2d3fe |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 29 03:34:34 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 29 03:34:34 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=81e1f72c |
7 |
|
8 |
_trees_dict: define __slots__ |
9 |
|
10 |
--- |
11 |
pym/portage/__init__.py | 1 + |
12 |
1 files changed, 1 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py |
15 |
index e4abab3..27353a1 100644 |
16 |
--- a/pym/portage/__init__.py |
17 |
+++ b/pym/portage/__init__.py |
18 |
@@ -480,6 +480,7 @@ def portageexit(): |
19 |
close_portdbapi_caches() |
20 |
|
21 |
class _trees_dict(dict): |
22 |
+ __slots__ = ('_running_eroot', '_target_eroot',) |
23 |
def __init__(self, *pargs, **kargs): |
24 |
dict.__init__(self, *pargs, **kargs) |
25 |
self._running_eroot = None |