~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Martin Pool
  • Date: 2005-08-24 00:34:21 UTC
  • Revision ID: mbp@sourcefrog.net-20050824003421-33dd8e5c739cad2a
- send trace messages out through python logging module

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
    wfe = WeaveFormatError
105
106
    l = f.readline()
106
107
    if l != FORMAT_1:
107
108
        raise WeaveFormatError('invalid weave file header: %r' % l)