From: Zac Medico Date: Mon, 21 Sep 2009 16:25:27 +0000 (-0000) Subject: Fix infinite recursion in items and values methods. X-Git-Tag: v2.2_rc42~73 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=acfd9bd4e4041b98b82e1ac616ed25980a1e11af;p=portage.git Fix infinite recursion in items and values methods. svn path=/main/trunk/; revision=14329 --- 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"