From 8d879e7727bf797a855332bebaff9bb3098b22a2 Mon Sep 17 00:00:00 2001 From: Berislav Lopac Date: Mon, 14 Nov 2016 10:24:07 +0000 Subject: replace iteritems with items to ensure python3 compatibility --- system/locale_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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 -- cgit v1.2.1