import dummy_threading as threading
from UserDict import DictMixin
-__all__ = ['exists', 'list', 'load']
+__all__ = ['exists', 'locale_identifiers', 'load']
__docformat__ = 'restructuredtext en'
_cache = {}
return os.path.exists(os.path.join(_dirname, '%s.dat' % name))
-def list():
+def locale_identifiers():
"""Return a list of all locale identifiers for which locale data is
available.
self._configure_logging(options.loglevel)
if options.list_locales:
- identifiers = localedata.list()
+ identifiers = localedata.locale_identifiers()
longest = max([len(identifier) for identifier in identifiers])
identifiers.sort()
format = u'%%-%ds %%s' % (longest + 1)