diff options
author | Berislav Lopac <berislav@prix.ai> | 2016-11-14 10:24:07 +0000 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2016-11-17 15:34:58 -0800 |
commit | 8d879e7727bf797a855332bebaff9bb3098b22a2 (patch) | |
tree | bf3ca69d7ae0906775e1a42b8f4f6c89271bf5c1 /system | |
parent | d3c804c758d3f6ac07bfdde99be1097eca93ee50 (diff) | |
download | ansible-modules-extras-8d879e7727bf797a855332bebaff9bb3098b22a2.tar.gz |
replace iteritems with items to ensure python3 compatibility
Diffstat (limited to 'system')
-rw-r--r-- | system/locale_gen.py | 2 |
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 |