/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

Merge further 2to3 fixes and correction for getcwd changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
325
325
        - i.e. just reduced the function call overhead. May be worth
326
326
          keeping.
327
327
        """
328
 
        if size < 0: size = sys.maxint
 
328
        if size < 0: size = sys.maxsize
329
329
        bufs = []
330
330
        readsize = min(200, size)    # Read from the file in small chunks
331
331
        while True: