~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Martin Pool
  • Date: 2005-09-07 09:51:05 UTC
  • Revision ID: mbp@sourcefrog.net-20050907095105-9699d69050ff0f9d
- better error display

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
 
101
101
def read_weave_v5(f):
102
102
    from weave import Weave, WeaveFormatError
103
 
    w = Weave(getattr(f, 'name', None))
 
103
    w = Weave()
104
104
 
105
105
    l = f.readline()
106
106
    if l != FORMAT_1: