~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_fetch.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:
268
268
        branch = wt.branch
269
269
        wt.add(["file"], ["id"])
270
270
        wt.commit("added file")
271
 
        print >>open("source/file", 'w'), "blah"
 
271
        open("source/file", 'w').write("blah\n")
272
272
        wt.commit("changed file")
273
273
        target = BzrDir.create_branch_and_repo("target/")
274
274
        source = Branch.open(self.get_readonly_url("source/"))