From: Brian Warner Date: Tue, 29 Jan 2008 02:13:36 +0000 (-0700) Subject: upload: fix 'skipping_ahead' log message X-Git-Tag: allmydata-tahoe-0.8.0~211 X-Git-Url: https://git.rkrishnan.org/tahoe_css?a=commitdiff_plain;h=c6c5a37d3f19e7fc940abffc5cef79ae5f2c33a0;p=tahoe-lafs%2Ftahoe-lafs.git upload: fix 'skipping_ahead' log message --- diff --git a/src/allmydata/upload.py b/src/allmydata/upload.py index 4bd795eb..93042da6 100644 --- a/src/allmydata/upload.py +++ b/src/allmydata/upload.py @@ -723,8 +723,8 @@ class RemoteEncryptedUploadable(Referenceable): if offset > self._offset: # read the data from disk anyways, to build up the hash tree skip = offset - self._offset - log.msg("remote_read_encrypted skipping ahead to %d, skip=%d" % - (self._offset, skip), level=log.UNUSUAL, parent=lp) + log.msg("remote_read_encrypted skipping ahead from %d to %d, skip=%d" % + (self._offset, offset, skip), level=log.UNUSUAL, parent=lp) d = self._read_encrypted(skip, hash_only=True) else: d = defer.succeed(None)