]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
upload: fix 'skipping_ahead' log message
authorBrian Warner <warner@allmydata.com>
Tue, 29 Jan 2008 02:13:36 +0000 (19:13 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 29 Jan 2008 02:13:36 +0000 (19:13 -0700)
src/allmydata/upload.py

index 4bd795ebf9f864cb6c0450544a2092f556224059..93042da68e8aaba35c2bf3a99422cd52b2dfdb71 100644 (file)
@@ -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)