~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: aaron.bentley at utoronto
  • Date: 2005-08-27 04:42:41 UTC
  • mfrom: (1092.1.43)
  • mto: (1185.3.4)
  • mto: This revision was merged to the branch mainline in revision 1178.
  • Revision ID: aaron.bentley@utoronto.ca-20050827044241-23d676133b9fc981
Merge of robertc@robertcollins.net-20050826013321-52eee1f1da679ee9

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
        ei = sys.exc_info()
170
170
        msg = str(ei[1])
171
171
 
172
 
    if msg and (msg[-1] == '\n'):
 
172
    if msg[-1] == '\n':
173
173
        msg = msg[:-1]
174
174
        
175
175
    _bzr_logger.exception(msg)