~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tuned_gzip.py

  • Committer: Martin Pool
  • Date: 2006-06-20 07:55:43 UTC
  • mfrom: (1798 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1799.
  • Revision ID: mbp@sourcefrog.net-20060620075543-b10f6575d4a4fa32
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        4168 in 200
140
140
        """
141
141
        # We've read to the end of the file, so we should have 8 bytes of 
142
 
        # unused data in the decompressor. If we dont, there is a corrupt file.
 
142
        # unused data in the decompressor. If we don't, there is a corrupt file.
143
143
        # We use these 8 bytes to calculate the CRC and the recorded file size.
144
144
        # We then check the that the computed CRC and size of the
145
145
        # uncompressed data matches the stored values.  Note that the size