From: Brandon Low Date: Sat, 22 Jan 2011 16:28:04 +0000 (-0800) Subject: Minorly fix outbytes calculation in client X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9aba6eec7740d9dea1bd503f0b85d63da164147f;p=packages%2Fb%2Fbup.git Minorly fix outbytes calculation in client Signed-off-by: Brandon Low --- diff --git a/lib/bup/client.py b/lib/bup/client.py index 6354b91..01287ef 100644 --- a/lib/bup/client.py +++ b/lib/bup/client.py @@ -323,7 +323,7 @@ class PackWriter_Remote(git.PackWriter): self.file, outbuf, self._bwcount, self._bwtime) except IOError, e: raise ClientError, e, sys.exc_info()[2] - self.outbytes += len(data) - 20 - 4 # Don't count sha1+crc + self.outbytes += len(data) self.count += 1 if self.file.has_input():