~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Martin Pool
  • Date: 2010-03-29 08:20:54 UTC
  • mto: This revision was merged to the branch mainline in revision 5139.
  • Revision ID: mbp@sourcefrog.net-20100329082054-0aifa6g3pebz5959
Put CrashDb=bzr directly into the crash file

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
    pr['SourcePackage'] = 'bzr'
140
140
    pr['Package'] = 'bzr'
141
141
 
142
 
    # TODO: tell apport to file directly against the bzr package using 
143
 
    # https://bugs.edge.launchpad.net/bzr/+bug/391015
 
142
    # tell apport to file directly against the bzr package using 
 
143
    # <https://bugs.edge.launchpad.net/bzr/+bug/391015>
 
144
    #
 
145
    # XXX: unfortunately apport may crash later if the crashdb definition
 
146
    # file isn't present
 
147
    pr['CrashDb'] = 'bzr'
144
148
 
145
149
    tb_file = StringIO()
146
150
    traceback.print_exception(exc_type, exc_object, exc_tb, file=tb_file)