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

  • Committer: Martin Pool
  • Date: 2011-05-20 14:46:02 UTC
  • mto: This revision was merged to the branch mainline in revision 5923.
  • Revision ID: mbp@canonical.com-20110520144602-bqli0t6dj01gl0pv
Various pyflakes import fixes.

Some modules were used for subclassing or at module load time, so there is no
point loading them lazily.

Some were not imported when they should be.

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)