swift/test/unit/test_locale
Victor Stinner e70b66586e Replace dict.iteritems() with dict.items()
The iteritems() of Python 2 dictionaries has been renamed to items() on
Python 3. According to a discussion on the openstack-dev mailing list,
the overhead of creating a temporary list using dict.items() on Python 2
is very low because most dictionaries are small:

http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Patch generated by the following command:

    sed -i 's,iteritems,items,g' \
      $(find swift -name "*.py") \
      $(find test -name "*.py")

Change-Id: I6070bb6c684be76e8e77222a7d280ec6edd43496
2015-06-24 09:39:55 +02:00
..
eo/LC_MESSAGES Move test.unit.locale out of gettext's way 2014-01-24 01:24:08 -08:00
__init__.py Move test.unit.locale out of gettext's way 2014-01-24 01:24:08 -08:00
eo.po Move test.unit.locale out of gettext's way 2014-01-24 01:24:08 -08:00
messages.mo Move test.unit.locale out of gettext's way 2014-01-24 01:24:08 -08:00
README Move test.unit.locale out of gettext's way 2014-01-24 01:24:08 -08:00
test_locale.py Replace dict.iteritems() with dict.items() 2015-06-24 09:39:55 +02:00

rebuild the .mo with msgfmt (included with GNU gettext)

    msgfmt eo.po