commit:     7b5c017b896b11c8c5b35c2b337141532536a0ab
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 16:01:52 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 16:01:52 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=7b5c017b

gentoolkit/package.py: Fix dblink call py3 compatibility bug 575788

 pym/gentoolkit/package.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py
index da9d65c..42b632b 100644
--- a/pym/gentoolkit/package.py
+++ b/pym/gentoolkit/package.py
@@ -363,7 +363,7 @@ class Package(CPV):
                        myroot = self._settings["ROOT"]
                        if myroot != '/':
                                ret = {}
-                               for key, val in 
self.dblink.getcontents().iteritems():
+                               for key, val in 
self.dblink.getcontents().items():
                                        ret['/' + os.path.relpath(key, myroot)] 
= val
                                contents = ret
 

Reply via email to