summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/virtual.py
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-21 16:07:07 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-21 16:07:07 +0000
commit6907b88a99468f88e6ba2ca479d419dcdf921131 (patch)
treef5cb8ca5056485096ac54022907299cacc2acc23 /pym/portage/dbapi/virtual.py
parent31505dfc2b6a6a0533123fe43d2240aab177d7c4 (diff)
downloadportage-6907b88a99468f88e6ba2ca479d419dcdf921131.tar.gz
portage-6907b88a99468f88e6ba2ca479d419dcdf921131.tar.bz2
portage-6907b88a99468f88e6ba2ca479d419dcdf921131.zip
Use dict.(keys|values|items)() instead of dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3.
(2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
Diffstat (limited to 'pym/portage/dbapi/virtual.py')
-rw-r--r--pym/portage/dbapi/virtual.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/virtual.py b/pym/portage/dbapi/virtual.py
index bf90f305b..5d1e933a1 100644
--- a/pym/portage/dbapi/virtual.py
+++ b/pym/portage/dbapi/virtual.py
@@ -59,7 +59,7 @@ class fakedbapi(dbapi):
return list(self.cpdict)
def cpv_all(self):
- return self.cpvdict.keys()
+ return list(self.cpvdict.keys())
def cpv_inject(self, mycpv, metadata=None):
"""Adds a cpv to the list of available packages. See the