~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/info.py

  • Committer: Blake Winton
  • Date: 2007-10-16 16:02:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2921.
  • Revision ID: bwinton@latte.ca-20071016160201-os2bci2ujf7in7an
Change 'print >> f,'s to 'f.write('s.

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