/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/plugin.py

  • Committer: Martin Pool
  • Date: 2011-01-18 00:21:46 UTC
  • mto: This revision was merged to the branch mainline in revision 5630.
  • Revision ID: mbp@canonical.com-20110118002146-twtns72d5rajulf9
Include plugin warnings in apport crash

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
_plugins_disabled = False
64
64
 
65
65
 
66
 
plugin_version_warnings = {}
67
 
# Map from plugin name, to warnings about API versions noticed while loading
68
 
# it.
 
66
plugin_warnings = {}
 
67
# Map from plugin name, to list of string warnings about eg plugin
 
68
# dependencies.
69
69
 
70
70
 
71
71
def are_plugins_disabled():
351
351
            "the maximum is %s" %
352
352
            (name, e.wanted, e.api, e.minimum, e.current))
353
353
        trace.mutter(warning_message)
354
 
        plugin_version_warnings[name] = warning_message
 
354
        plugin_warnings[name] = warning_message
355
355
    except Exception, e:
356
356
        trace.warning("%s" % e)
357
357
        if re.search('\.|-| ', name):