~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/i18n.py

  • Committer: paulbrianstewart at gmail
  • Date: 2011-08-13 23:07:36 UTC
  • mto: This revision was merged to the branch mainline in revision 6069.
  • Revision ID: paulbrianstewart@gmail.com-20110813230736-lqi6eek015wh23yv
Added punctuation to the commit message

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
def _get_current_locale():
135
135
    if not os.environ.get('LANGUAGE'):
136
136
        from bzrlib import config
137
 
        lang = config.GlobalStack().get('language')
 
137
        lang = config.GlobalConfig().get_user_option('language')
138
138
        if lang:
139
139
            os.environ['LANGUAGE'] = lang
140
140
            return lang