~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Robert Collins
  • Date: 2010-02-27 12:27:33 UTC
  • mto: This revision was merged to the branch mainline in revision 5061.
  • Revision ID: robertc@robertcollins.net-20100227122733-2o3me3fkk3pk36ns
``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
``message_callback`` in the same way that commit does. (Robert Collins)

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()