diff options
author | Felix Schwarz <felix.schwarz@oss.schwarz.eu> | 2011-03-19 19:48:23 +0000 |
---|---|---|
committer | Felix Schwarz <felix.schwarz@oss.schwarz.eu> | 2011-03-19 19:48:23 +0000 |
commit | 7bfc9fac9d275911cc1e8a2ea30891d38bc1b54e (patch) | |
tree | c732a690627dd6124bb374e6e083eb3242894de6 /babel/localedata.py | |
parent | 77bd66d325ec00c639540a7422ee4eb52d1be21d (diff) | |
download | babel-7bfc9fac9d275911cc1e8a2ea30891d38bc1b54e.tar.gz |
rename babel.localedata.list() to ease Python 3 transition (fixes #250)
Diffstat (limited to 'babel/localedata.py')
-rw-r--r-- | babel/localedata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/babel/localedata.py b/babel/localedata.py index 99cfd03..78b2357 100644 --- a/babel/localedata.py +++ b/babel/localedata.py @@ -25,7 +25,7 @@ except ImportError: import dummy_threading as threading from UserDict import DictMixin -__all__ = ['exists', 'list', 'load'] +__all__ = ['exists', 'locale_identifiers', 'load'] __docformat__ = 'restructuredtext en' _cache = {} @@ -45,7 +45,7 @@ def exists(name): 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. |