mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
replace iteritems with items to ensure python3 compatibility
This commit is contained in:
parent
3a26a1bfcc
commit
7f351a46e5
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def is_present(name):
|
||||||
def fix_case(name):
|
def fix_case(name):
|
||||||
"""locale -a might return the encoding in either lower or upper case.
|
"""locale -a might return the encoding in either lower or upper case.
|
||||||
Passing through this function makes them uniform for comparisons."""
|
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)
|
name = name.replace(s, r)
|
||||||
return name
|
return name
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue