1 |
Author: zmedico |
2 |
Date: 2008-06-25 23:10:28 +0000 (Wed, 25 Jun 2008) |
3 |
New Revision: 10796 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dbapi/bintree.py |
7 |
Log: |
8 |
Use SlotDict where appropriate in binarytree._populate(). |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/dbapi/bintree.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/dbapi/bintree.py 2008-06-25 22:54:17 UTC (rev 10795) |
14 |
+++ main/trunk/pym/portage/dbapi/bintree.py 2008-06-25 23:10:28 UTC (rev 10796) |
15 |
@@ -478,7 +478,7 @@ |
16 |
update_pkgindex = True |
17 |
self.dbapi.cpv_inject(mycpv) |
18 |
if not self.dbapi._aux_cache_keys.difference(d): |
19 |
- aux_cache = {} |
20 |
+ aux_cache = self.dbapi._aux_cache_slot_dict() |
21 |
for k in self.dbapi._aux_cache_keys: |
22 |
aux_cache[k] = d[k] |
23 |
self.dbapi._aux_cache[mycpv] = aux_cache |
24 |
@@ -575,7 +575,7 @@ |
25 |
d.pop("PATH", None) |
26 |
metadata[mycpv] = d |
27 |
if not self.dbapi._aux_cache_keys.difference(d): |
28 |
- aux_cache = {} |
29 |
+ aux_cache = self.dbapi._aux_cache_slot_dict() |
30 |
for k in self.dbapi._aux_cache_keys: |
31 |
aux_cache[k] = d[k] |
32 |
self.dbapi._aux_cache[mycpv] = aux_cache |
33 |
|
34 |
-- |
35 |
gentoo-commits@l.g.o mailing list |