summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/porttree.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/dbapi/porttree.py')
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 40557de15..e9bde27fb 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -970,7 +970,7 @@ class portdbapi(dbapi):
if mydep != mykey:
cpv_iter = self._iter_match(mydep, cpv_iter)
try:
- myval = cpv_iter.next()
+ myval = next(cpv_iter)
except StopIteration:
myval = ""