summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-21 16:25:27 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-21 16:25:27 +0000
commitacfd9bd4e4041b98b82e1ac616ed25980a1e11af (patch)
treeaa5249d75a39bafda1a73d43a9b792016e57ccab
parent7fefee145f7cf0672426ad76aaa244a7cfc88753 (diff)
downloadportage-acfd9bd4e4041b98b82e1ac616ed25980a1e11af.tar.gz
portage-acfd9bd4e4041b98b82e1ac616ed25980a1e11af.tar.bz2
portage-acfd9bd4e4041b98b82e1ac616ed25980a1e11af.zip
Fix infinite recursion in items and values methods.
svn path=/main/trunk/; revision=14329
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index e8532e60d..d1dba8def 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3631,7 +3631,7 @@ class config(object):
yield (k, self[k])
def items(self):
- return list(self.items())
+ return list(self.iteritems())
def __setitem__(self,mykey,myvalue):
"set a value; will be thrown away at reset() time"