diff options
Diffstat (limited to 'Tools/i18n/makelocalealias.py')
-rw-r--r-- | Tools/i18n/makelocalealias.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Tools/i18n/makelocalealias.py b/Tools/i18n/makelocalealias.py index 43df35a..f97b80e 100644 --- a/Tools/i18n/makelocalealias.py +++ b/Tools/i18n/makelocalealias.py @@ -49,7 +49,7 @@ def pprint(data): items = data.items() items.sort() for k,v in items: - print ' %-40s%r,' % ('%r:' % k, v) + print(' %-40s%r,' % ('%r:' % k, v)) def print_differences(data, olddata): @@ -57,17 +57,17 @@ def print_differences(data, olddata): items.sort() for k, v in items: if not data.has_key(k): - print '# removed %r' % k + print('# removed %r' % k) elif olddata[k] != data[k]: - print '# updated %r -> %r to %r' % \ - (k, olddata[k], data[k]) + print('# updated %r -> %r to %r' % \ + (k, olddata[k], data[k])) # Additions are not mentioned if __name__ == '__main__': data = locale.locale_alias.copy() data.update(parse(LOCALE_ALIAS)) print_differences(data, locale.locale_alias) - print - print 'locale_alias = {' + print() + print('locale_alias = {') pprint(data) - print '}' + print('}') |