44
44
def _add_compressed(self, fn, f):
45
45
from cStringIO import StringIO
46
46
from bzrlib.osutils import pumpfile
48
48
if isinstance(f, basestring):
52
52
gf = gzip.GzipFile(mode='wb', fileobj=sio)
53
53
# if pumpfile handles files that don't fit in ram,