From 6907b88a99468f88e6ba2ca479d419dcdf921131 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 21 Sep 2009 16:07:07 +0000 Subject: 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 --- pym/portage/checksum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage/checksum.py') 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: -- cgit v1.2.3-1-g7c22