/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/i18n.py

  • Committer: Martin
  • Date: 2017-11-12 13:53:51 UTC
  • mto: This revision was merged to the branch mainline in revision 6810.
  • Revision ID: gzlist@googlemail.com-20171112135351-uyr1ncw7visg62c2
Apply 2to3 ws_comma fixer

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
 
162
162
 
163
163
def _check_win32_locale():
164
 
    for i in ('LANGUAGE','LC_ALL','LC_MESSAGES','LANG'):
 
164
    for i in ('LANGUAGE', 'LC_ALL', 'LC_MESSAGES', 'LANG'):
165
165
        if os.environ.get(i):
166
166
            break
167
167
    else:
196
196
            return lang
197
197
    if sys.platform == 'win32':
198
198
        _check_win32_locale()
199
 
    for i in ('LANGUAGE','LC_ALL','LC_MESSAGES','LANG'):
 
199
    for i in ('LANGUAGE', 'LC_ALL', 'LC_MESSAGES', 'LANG'):
200
200
        lang = os.environ.get(i)
201
201
        if lang:
202
202
            return lang