replace iteritems with items to ensure python3 compatibility

pull/18777/head
Berislav Lopac 8 years ago committed by Matt Clay
parent 3a26a1bfcc
commit 7f351a46e5

@ -97,7 +97,7 @@ def is_present(name):
def fix_case(name):
"""locale -a might return the encoding in either lower or upper case.
Passing through this function makes them uniform for comparisons."""
for s, r in LOCALE_NORMALIZATION.iteritems():
for s, r in LOCALE_NORMALIZATION.items():
name = name.replace(s, r)
return name

Loading…
Cancel
Save