From: Christian Herdtweck Date: Mon, 13 Jun 2016 11:06:38 +0000 (+0200) Subject: removed some debug output X-Git-Tag: v2.2~35^2~9 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=765b4cc71d15f0a8291601b07e12f4b770d4e455;p=python-delta-tar removed some debug output --- diff --git a/deltatar/tarfile.py b/deltatar/tarfile.py index aa07632..9b2954a 100644 --- a/deltatar/tarfile.py +++ b/deltatar/tarfile.py @@ -2395,7 +2395,6 @@ class TarFile(object): buf = tarinfo.tobuf(self.format, self.encoding, self.errors) self.fileobj.write(buf) self.offset += len(buf) - self._dbg(1, 'tarinfo has size {}'.format(len(buf))) if self.max_volume_size: if isinstance(self.fileobj, _Stream): @@ -2469,7 +2468,6 @@ class TarFile(object): # write new volume header buf = tarinfo.tobuf(self.format, self.encoding, self.errors) - self._dbg(1, 'tarinfo has size {}'.format(len(buf))) self.fileobj.write(buf) self.offset += len(buf) @@ -2482,8 +2480,6 @@ class TarFile(object): # now, all data has been written. We may have to fill up the rest of # the block in target with 0s remainder = (tarinfo.size - tarinfo.volume_offset) % BLOCKSIZE - self._dbg(1, 'wrote everything, fill with {} 0s to {}' - .format(BLOCKSIZE - remainder, BLOCKSIZE)) if remainder > 0: self.fileobj.write(NUL * (BLOCKSIZE - remainder)) self.offset += BLOCKSIZE - remainder