~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_fetch.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:
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/"))