~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Robert Collins
  • Date: 2010-06-21 01:21:52 UTC
  • mto: This revision was merged to the branch mainline in revision 5310.
  • Revision ID: robertc@robertcollins.net-20100621012152-8imhqjie6q03f6ji
Fix comments up in trace.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
538
538
 
539
539
 
540
540
def _flush_stdout_stderr():
541
 
    # installed into an atexit hook by bzrlib.initialize()
 
541
    # called from the bzrlib library finalizer returned by bzrlib.initialize()
542
542
    try:
543
543
        sys.stdout.flush()
544
544
        sys.stderr.flush()
551
551
 
552
552
 
553
553
def _flush_trace():
554
 
    # run from atexit hook
 
554
    # called from the bzrlib library finalizer returned by bzrlib.initialize()
555
555
    global _trace_file
556
556
    if _trace_file:
557
557
        _trace_file.flush()