~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.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:
1
 
# Copyright (C) 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2009, 2010, 2011 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
165
165
    pr['BzrPlugins'] = _format_plugin_list()
166
166
    pr['PythonLoadedModules'] = _format_module_list()
167
167
    pr['BzrDebugFlags'] = pprint.pformat(debug.debug_flags)
 
168
    pr['BzrPluginWarnings'] = pprint.pformat(plugin.plugin_warnings)
168
169
 
169
170
    # actually we'd rather file directly against the upstream product, but
170
171
    # apport does seem to count on there being one in there; we might need to