~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Jelmer Vernooij
  • Date: 2011-01-19 06:13:58 UTC
  • mfrom: (5619 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5620.
  • Revision ID: jelmer@samba.org-20110119061358-qm58pzvcp2l9cdx4
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
    exc_type, exc_object, exc_tb = exc_info
144
144
 
145
145
    pr = Report()
146
 
    # add_proc_info gives you the memory map of the process, which is not so
147
 
    # useful for Bazaar but does tell you what binary libraries are loaded.
148
 
    # More importantly it sets the ExecutablePath, InterpreterPath, etc.
 
146
    # add_proc_info sets the ExecutablePath, InterpreterPath, etc.
149
147
    pr.add_proc_info()
 
148
    # It also adds ProcMaps which for us is rarely useful and mostly noise, so
 
149
    # let's remove it.
 
150
    del pr['ProcMaps']
150
151
    pr.add_user_info()
151
152
 
152
153
    # Package and SourcePackage are needed so that apport will report about even