]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
publish.py: log roothash in base32, not binary
authorBrian Warner <warner@lothar.com>
Tue, 2 Sep 2014 20:32:59 +0000 (13:32 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 2 Sep 2014 20:32:59 +0000 (13:32 -0700)
Closes ticket:1800

src/allmydata/mutable/publish.py

index 4acc2d6c3687444bafdd8736fa9a9452fe009b07..88e95e6c304f6a34dc38361306e3a1dfec9ddb81 100644 (file)
@@ -1135,7 +1135,7 @@ class Publish:
                                 " format %d" % version)
                     else:
                         msg += " but testv reported #%d:R=%s" % \
-                               (other_seqnum, other_roothash)
+                               (other_seqnum, base32.b2a(other_roothash)[:4])
                     self.log(msg, parent=lp, level=log.NOISY)
                 # if expected_version==None, then we didn't expect to see a
                 # share on that server, and the 'surprise_shares' clause