~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_pack.py

  • Committer: Andrew Bennetts
  • Date: 2010-07-29 11:17:57 UTC
  • mfrom: (5050.3.17 2.2)
  • mto: This revision was merged to the branch mainline in revision 5365.
  • Revision ID: andrew.bennetts@canonical.com-20100729111757-018h3pcefo7z0dnq
Merge lp:bzr/2.2 into lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
    def _update_file(self, path, text, checkin=True):
40
40
        """append text to file 'path' and check it in"""
41
 
        with open(path, 'a') as f:
42
 
            f.write(text)
43
 
 
 
41
        open(path, 'a').write(text)
44
42
        if checkin:
45
43
            self.run_bzr(['ci', path, '-m', '"' + path + '"'])
46
44