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

  • Committer: John Arbash Meinel
  • Date: 2006-08-22 21:31:23 UTC
  • mto: This revision was merged to the branch mainline in revision 1953.
  • Revision ID: john@arbash-meinel.com-20060822213123-15cf5e4c6a9ab4d2
Don't raise UnicodeCommand on request, instead just let it fall out when we get to NoSuchCommand

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        try:
103
103
            out = unicode(fmt) % args
104
104
        except UnicodeError, e:
105
 
            warning('UnicodeError: %s', e)
 
105
            warning('WARNING: UnicodeError: %s', e)
106
106
            out_list = [fmt]
107
107
            out_list.extend(args)
108
108
            out = repr(out_list)
112
112
    try:
113
113
        _trace_file.write(out)
114
114
    except UnicodeError, e:
115
 
        warning('UnicodeError: %s', e)
 
115
        warning('WARNING: UnicodeError: %s', e)
116
116
        _trace_file.write(repr(out))
117
117
    # TODO: jam 20051227 Consider flushing the trace file to help debugging
118
118
    #_trace_file.flush()