/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/groupcompress.py

  • Committer: Vincent Ladeuil
  • Date: 2011-06-27 15:42:09 UTC
  • mfrom: (5993 +trunk)
  • mto: (5993.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5994.
  • Revision ID: v.ladeuil+lp@free.fr-20110627154209-azubuhbuxsz109hq
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
466
466
                # Grab and cache the raw bytes for this entry
467
467
                # and break the ref-cycle with _manager since we don't need it
468
468
                # anymore
469
 
                self._manager._prepare_for_extract()
 
469
                try:
 
470
                    self._manager._prepare_for_extract()
 
471
                except zlib.error as value:
 
472
                    raise errors.DecompressCorruption("zlib: " + str(value))
470
473
                block = self._manager._block
471
474
                self._bytes = block.extract(self.key, self._start, self._end)
472
475
                # There are code paths that first extract as fulltext, and then