~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-20 13:31:00 UTC
  • mto: This revision was merged to the branch mainline in revision 6153.
  • Revision ID: jriddell@canonical.com-20110920133100-kpsomvcnjoxv6n6b
syntax fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
559
559
    try:
560
560
        sys.stdout.flush()
561
561
        sys.stderr.flush()
562
 
    except ValueError, e:
563
 
        # On Windows, I get ValueError calling stdout.flush() on a closed
564
 
        # handle
565
 
        pass
566
562
    except IOError, e:
567
563
        import errno
568
564
        if e.errno in [errno.EINVAL, errno.EPIPE]: