projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37440ac
)
Use iteritems() instead of items() because an iterator uses less memory.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 14 May 2006 12:08:23 +0000
(12:08 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 14 May 2006 12:08:23 +0000
(12:08 -0000)
svn path=/main/trunk/; revision=3350
pym/cache/flat_hash.py
patch
|
blob
|
history
diff --git
a/pym/cache/flat_hash.py
b/pym/cache/flat_hash.py
index dfa7ad0c7ee3f59638496c8998b76a688081e84f..3a49a05de79f5afcb68a488926b811dc773509a2 100644
(file)
--- a/
pym/cache/flat_hash.py
+++ b/
pym/cache/flat_hash.py
@@
-80,7
+80,7
@@
class database(fs_template.FsBased):
else:
raise cache_errors.CacheCorruption(cpv, e)
- for k, v in values.items():
+ for k, v in values.ite
rite
ms():
if k != "_mtime_" and (k == "_eclasses_" or k in self._known_keys):
myf.write("%s=%s\n" % (k, v))