summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorBerislav Lopac <berislav@prix.ai>2016-11-14 10:24:07 +0000
committerToshio Kuratomi <a.badger@gmail.com>2016-11-17 15:34:58 -0800
commit8d879e7727bf797a855332bebaff9bb3098b22a2 (patch)
treebf3ca69d7ae0906775e1a42b8f4f6c89271bf5c1 /system
parentd3c804c758d3f6ac07bfdde99be1097eca93ee50 (diff)
downloadansible-modules-extras-8d879e7727bf797a855332bebaff9bb3098b22a2.tar.gz
replace iteritems with items to ensure python3 compatibility
Diffstat (limited to 'system')
-rw-r--r--system/locale_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/locale_gen.py b/system/locale_gen.py
index 9aa732f5..c8c5128d 100644
--- a/system/locale_gen.py
+++ b/system/locale_gen.py
@@ -98,7 +98,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