/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 bzrlib/osutils.py

  • Committer: Martin Pool
  • Date: 2009-09-17 06:49:43 UTC
  • mto: This revision was merged to the branch mainline in revision 4707.
  • Revision ID: mbp@sourcefrog.net-20090917064943-7p1pu84qb4zw8165
Give a shorter/cleaner message for missing extensions

Show diffs side-by-side

added added

removed removed

Lines of Context:
920
920
    if GlobalConfig().get_user_option_as_bool('ignore_missing_extensions'):
921
921
        return
922
922
    # the warnings framework should by default show this only once
923
 
    warnings.warn(
924
 
        "bzr: warning: Failed to load compiled extensions:\n"
925
 
        "    %s\n" 
926
 
        "    Bazaar can run, but performance may be reduced.\n"
927
 
        "    Check Bazaar is correctly installed or set ignore_missing_extensions"
928
 
        % '\n    '.join(_extension_load_failures,))
 
923
    from bzrlib.trace import warning
 
924
    warning(
 
925
        "bzr: warning: some compiled extensions could not be loaded; "
 
926
        "see <https://answers.launchpad.net/bzr/+faq/703>")
 
927
    # we no longer show the specific missing extensions here, because it makes
 
928
    # the message too long and scary - see
 
929
    # https://bugs.launchpad.net/bzr/+bug/430529
929
930
 
930
931
 
931
932
try: