~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Andrew Bennetts
  • Date: 2007-08-09 01:14:36 UTC
  • mto: This revision was merged to the branch mainline in revision 2692.
  • Revision ID: andrew.bennetts@canonical.com-20070809011436-gdrflmle4tsc00kl
Fix bzrlib.opentracefile('foo').

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        else:
153
153
            home = os.path.expanduser('~')
154
154
        _bzr_log_filename = os.path.join(home, '.bzr.log')
 
155
    else:
 
156
        _bzr_log_filename = tracefilename
155
157
 
156
158
    _bzr_log_filename = os.path.expanduser(_bzr_log_filename)
157
159
    _rollover_trace_maybe(_bzr_log_filename)