/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/_knit_load_data_py.py

  • Committer: John Arbash Meinel
  • Date: 2007-07-05 19:39:28 UTC
  • mto: This revision was merged to the branch mainline in revision 2614.
  • Revision ID: john@arbash-meinel.com-20070705193928-xtm8nh4ucc8qosdn
Add direct tests of how we handle incomplete/'broken' lines

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        if len(rec) < 5 or rec[-1] != ':':
39
39
            # corrupt line.
40
40
            # FIXME: in the future we should determine if its a
41
 
            # short write - and ignore it 
 
41
            # short write - and ignore it
42
42
            # or a different failure, and raise. RBC 20060407
43
43
            continue
44
44