From 765b4cc71d15f0a8291601b07e12f4b770d4e455 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Mon, 13 Jun 2016 13:06:38 +0200 Subject: [PATCH] removed some debug output --- deltatar/tarfile.py | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) 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 -- 1.7.1