~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Martin Pool
  • Date: 2005-09-01 12:34:34 UTC
  • Revision ID: mbp@sourcefrog.net-20050901123434-47f5353abbeae0d6
- typo fixes from kfish

- point the tutorial to the web site where it's now maintained

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /usr/bin/python
 
2
 
1
3
# Copyright (C) 2005 Canonical Ltd
2
4
 
3
5
# This program is free software; you can redistribute it and/or modify
98
100
 
99
101
def read_weave_v5(f):
100
102
    from weave import Weave, WeaveFormatError
101
 
    w = Weave(getattr(f, 'name', None))
 
103
    w = Weave()
102
104
 
103
105
    l = f.readline()
104
106
    if l != FORMAT_1: