~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-10-19 20:12:26 UTC
  • mfrom: (2911.6.4 bzr.writes)
  • Revision ID: pqm@pqm.ubuntu.com-20071019201226-6z006xotgfe7zmu8
(Blake Winton) Switch 'print >>f' to 'f.write()' throughout the codebase

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
            # unrepresentable annotation characters. So encode using 'replace',
93
93
            # and write them again.
94
94
            to_file.write(anno.encode(encoding, 'replace'))
95
 
        print >>to_file, '| %s' % (text,)
 
95
        to_file.write('| %s\n' % (text,))
96
96
        prevanno = anno
97
97
 
98
98