/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_branch.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:
539
539
                                   ensure_config_dir_exists)
540
540
        ensure_config_dir_exists()
541
541
        fn = locations_config_filename()
542
 
        print >> open(fn, 'wt'), ("[%s]\n"
543
 
                                  "push_location=foo" %
544
 
                                  self.get_branch().base[:-1])
 
542
        open(fn, 'wt').write(("[%s]\n"
 
543
                                  "push_location=foo\n" %
 
544
                                  self.get_branch().base[:-1]))
545
545
        self.assertEqual("foo", self.get_branch().get_push_location())
546
546
 
547
547
    def test_set_push_location(self):