summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-22 02:02:45 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-22 02:02:45 +0000
commit9fc33511c74643673ec9ddbfc8b7de0f9b47e7f5 (patch)
tree6dd6e9a62b20572ae19b8da7c210dbdbab99226f
parent7f3d199fee7f13cf8d907d77e0758e3af2153bd5 (diff)
downloadportage-9fc33511c74643673ec9ddbfc8b7de0f9b47e7f5.tar.gz
portage-9fc33511c74643673ec9ddbfc8b7de0f9b47e7f5.tar.bz2
portage-9fc33511c74643673ec9ddbfc8b7de0f9b47e7f5.zip
Fix items to prevent infinite recursion.
svn path=/main/trunk/; revision=14371
-rw-r--r--pym/portage/cache/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/cache/template.py b/pym/portage/cache/template.py
index 650f5135d..9e779520b 100644
--- a/pym/portage/cache/template.py
+++ b/pym/portage/cache/template.py
@@ -120,7 +120,7 @@ class database(object):
yield (x, self[x])
def items(self):
- return list(self.items())
+ return list(self.iteritems())
def sync(self, rate=0):
self.sync_rate = rate