~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_log.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:
166
166
        wt.commit(message='add file1 and file2')
167
167
        self.run_bzr('branch parent child')
168
168
        os.unlink('child/file1')
169
 
        print >> file('child/file2', 'wb'), 'hello'
 
169
        file('child/file2', 'wb').write('hello\n')
170
170
        self.run_bzr(['commit', '-m', 'remove file1 and modify file2',
171
171
            'child'])
172
172
        os.chdir('parent')
357
357
        wt.commit('first post')
358
358
        self.run_bzr('branch parent child')
359
359
        os.unlink('child/f1')
360
 
        print >> file('child/f2', 'wb'), 'hello'
 
360
        file('child/f2', 'wb').write('hello\n')
361
361
        self.run_bzr(['commit', '-m', 'removed f1 and modified f2',
362
362
            'child'])
363
363
        os.chdir('parent')