~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to weavefile.py

  • Committer: Martin Pool
  • Date: 2005-07-01 03:39:34 UTC
  • mto: This revision was merged to the branch mainline in revision 852.
  • Revision ID: mbp@sourcefrog.net-20050701033934-c21c7c9ca356e4fe
Fix assertion with side effects

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
            assert l.startswith('1 ')
133
133
            w._sha1s.append(l[2:])
134
134
                
135
 
            assert f.readline() == '\n'
 
135
            l = f.readline()
 
136
            assert l == '\n'
136
137
        elif l == 'w\n':
137
138
            break
138
139
        else: