~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-01 17:11:25 UTC
  • mto: (1185.50.19 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1532.
  • Revision ID: john@arbash-meinel.com-20051201171125-5e1f0970246c4925
Updated the bzr sourcecode to use bzrlib.osutils.pathjoin rather than os.path.join to enforce internal use of / instead of \

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
import bzrlib
48
48
from bzrlib.errors import BzrError, BzrNewError
 
49
from bzrlib.osutils import pathjoin
49
50
 
50
51
 
51
52
_file_handler = None
120
121
    global _file_handler, _bzr_log_file
121
122
    import stat, codecs
122
123
 
123
 
    trace_fname = os.path.join(os.path.expanduser(tracefilename))
 
124
    trace_fname = pathjoin(os.path.expanduser(tracefilename))
124
125
    _rollover_trace_maybe(trace_fname)
125
126
    try:
126
127
        LINE_BUFFERED = 1