~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/index.py

(jam) Switch from Transport.get() to .get_bytes(),
        close open file handles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
455
455
        trailers = 0
456
456
        pos = stream.tell()
457
457
        lines = stream.read().split('\n')
 
458
        stream.close()
458
459
        del lines[-1]
459
460
        _, _, _, trailers = self._parse_lines(lines, pos)
460
461
        for key, absent, references, value in self._keys_by_offset.itervalues():