summaryrefslogtreecommitdiffstats
path: root/pym/portage/cache/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/cache/template.py')
-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 6fe9f3b00..161b07f55 100644
--- a/pym/portage/cache/template.py
+++ b/pym/portage/cache/template.py
@@ -151,7 +151,7 @@ class database(object):
if key not in self.__known_keys:
raise InvalidRestriction(key, match, "Key isn't valid")
- for cpv in self.keys():
+ for cpv in self.iterkeys():
cont = True
vals = self[cpv]
for key, match in restricts.iteritems():