diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 16:07:07 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 16:07:07 +0000 |
commit | 6907b88a99468f88e6ba2ca479d419dcdf921131 (patch) | |
tree | f5cb8ca5056485096ac54022907299cacc2acc23 /pym/portage/checksum.py | |
parent | 31505dfc2b6a6a0533123fe43d2240aab177d7c4 (diff) | |
download | portage-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/checksum.py')
-rw-r--r-- | pym/portage/checksum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py index 93076d304..9cc2d82e7 100644 --- a/pym/portage/checksum.py +++ b/pym/portage/checksum.py @@ -134,7 +134,7 @@ def perform_all(x, calc_prelink=0): return mydict def get_valid_checksum_keys(): - return hashfunc_map.keys() + return list(hashfunc_map.keys()) def get_hash_origin(hashtype): if hashtype not in hashfunc_map: |