~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Robert Collins
  • Date: 2010-04-08 04:34:03 UTC
  • mfrom: (5138 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5139.
  • Revision ID: robertc@robertcollins.net-20100408043403-56z0d07vdqrx7f3t
Update bugfix for 528114 to trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
 
119
119
    from weave import WeaveFormatError
120
120
 
121
 
    try:
122
 
        lines = iter(f.readlines())
123
 
    finally:
124
 
        f.close()
 
121
    lines = iter(f.readlines())
125
122
 
126
123
    try:
127
124
        l = lines.next()