summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/env/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/env/config.py b/pym/portage/env/config.py
index 192d10852..a354dcf7d 100644
--- a/pym/portage/env/config.py
+++ b/pym/portage/env/config.py
@@ -30,6 +30,9 @@ class UserConfigKlass(UserDict,object):
self.data, self.errors = self._loader.load()
+ def __iter__(self):
+ return iter(self.data)
+
class PackageKeywordsFile(UserConfigKlass):
"""
Inherits from UserConfigKlass; implements a file-based backend.