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

  • Committer: John Arbash Meinel
  • Date: 2006-08-16 19:21:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1937.
  • Revision ID: john@arbash-meinel.com-20060816192135-e3dcf28f138d3671
Minor change to tuned_gzip.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Bzrlib specific gzip tunings. We plan to feed these to the upstream gzip."""
19
19
 
20
 
import cStringIO
 
20
from cStringIO import StringIO
21
21
 
22
22
# make GzipFile faster:
23
23
import gzip
281
281
        # to :
282
282
        # 4168 calls in 417.
283
283
        # Negative numbers result in reading all the lines
284
 
        content = cStringIO.StringIO(self.read(-1))
 
284
        content = StringIO(self.read(-1))
285
285
        return content.readlines()
286
286
 
287
287
    def _unread(self, buf, len_buf=None):