~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Vincent Ladeuil
  • Date: 2011-08-12 12:18:34 UTC
  • mto: This revision was merged to the branch mainline in revision 6075.
  • Revision ID: v.ladeuil+lp@free.fr-20110812121834-lrekgn2dj0rdjvi8
Migrate ignore_missing_extensions to stack-based config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
from bzrlib import (
44
44
    cache_utf8,
 
45
    config,
45
46
    errors,
46
47
    trace,
47
48
    win32utils,
985
986
def report_extension_load_failures():
986
987
    if not _extension_load_failures:
987
988
        return
988
 
    from bzrlib.config import GlobalConfig
989
 
    if GlobalConfig().get_user_option_as_bool('ignore_missing_extensions'):
 
989
    if config.GlobalStack().get('ignore_missing_extensions'):
990
990
        return
991
991
    # the warnings framework should by default show this only once
992
992
    from bzrlib.trace import warning