summaryrefslogtreecommitdiffstats
path: root/pym/portage/checksum.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-22 21:26:20 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-22 21:26:20 +0000
commit74d1ad697e82601bf8aa44b0d24121017071e655 (patch)
tree53fa1c90c9599691ed6aec0bf231e72833b07b4a /pym/portage/checksum.py
parentccd74312f34433350a3d5b7e05fd3f154ca1b582 (diff)
downloadportage-74d1ad697e82601bf8aa44b0d24121017071e655.tar.gz
portage-74d1ad697e82601bf8aa44b0d24121017071e655.tar.bz2
portage-74d1ad697e82601bf8aa44b0d24121017071e655.zip
Replace dict.keys() usage with __iter__(), since it behaves identically in
both python 2.x and 3.x. svn path=/main/trunk/; revision=14384
Diffstat (limited to 'pym/portage/checksum.py')
-rw-r--r--pym/portage/checksum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py
index 9cc2d82e7..6b849d5d7 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 list(hashfunc_map.keys())
+ return list(hashfunc_map)
def get_hash_origin(hashtype):
if hashtype not in hashfunc_map: