~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/info.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:
148
148
    """Show parent and push location of branch."""
149
149
    locs = _gather_related_branches(branch)
150
150
    if len(locs.locs) > 0:
151
 
        print >> outfile
152
 
        print >> outfile, 'Related branches:'
 
151
        outfile.write('\n')
 
152
        outfile.write('Related branches:\n')
153
153
        outfile.writelines(locs.get_lines())
154
154
 
155
155