diff options
-rw-r--r-- | pym/portage/dbapi/porttree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index e9bde27fb..90092eaa3 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -506,7 +506,7 @@ class portdbapi(dbapi): def _metadata_callback(self, cpv, ebuild_path, repo_path, metadata, mtime): i = metadata - if hasattr(metadata, "iteritems"): + if hasattr(metadata, "items"): i = iter(metadata.items()) metadata = dict(i) |