~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Jelmer Vernooij
  • Date: 2012-01-27 19:05:43 UTC
  • mto: This revision was merged to the branch mainline in revision 6450.
  • Revision ID: jelmer@samba.org-20120127190543-vk350mv4a0c7aug2
Fix weave test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
    from bzrlib.weave import WeaveFormatError
118
118
 
119
119
    try:
120
 
        lines = iter(f.read().splitlines(True))
 
120
        lines = iter(f.readlines())
121
121
    finally:
122
122
        f.close()
123
123