~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: INADA Naoki
  • Date: 2011-05-14 14:32:02 UTC
  • mto: This revision was merged to the branch mainline in revision 5874.
  • Revision ID: songofacandy@gmail.com-20110514143202-47r07mp2ebipg2yq
Fix error when fix_sentence_endings=True.

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
 
    # 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.
 
123
    # if the import fails, the exception will be caught at a higher level and
 
124
    # we'll report the error by other means
126
125
    import apport
127
126
 
128
127
    crash_filename = _write_apport_report_to_file(exc_info)