~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-27 00:22:26 UTC
  • mfrom: (5904.1.2 cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20110527002226-47nfzevxy52b4pn1
(vila) Fix some imports and other pyflakes failures. (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
    # this function is based on apport_package_hook.py, but omitting some of the
121
121
    # Ubuntu-specific policy about what to report and when
122
122
 
123
 
    # if the import fails, the exception will be caught at a higher level and
124
 
    # we'll report the error by other means
 
123
    # This import is apparently not used, but we're doing it so that if the
 
124
    # import fails, the exception will be caught at a higher level and we'll
 
125
    # report the error by other means.
125
126
    import apport
126
127
 
127
128
    crash_filename = _write_apport_report_to_file(exc_info)