From: Brian Warner Date: Tue, 2 Sep 2014 20:32:59 +0000 (-0700) Subject: publish.py: log roothash in base32, not binary X-Git-Tag: allmydata-tahoe-1.10.1a1~153 X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/(%5B%5E?a=commitdiff_plain;h=45adde71808bc27d41b5bc77a963184957e9b247;p=tahoe-lafs%2Ftahoe-lafs.git publish.py: log roothash in base32, not binary Closes ticket:1800 --- diff --git a/src/allmydata/mutable/publish.py b/src/allmydata/mutable/publish.py index 4acc2d6c..88e95e6c 100644 --- a/src/allmydata/mutable/publish.py +++ b/src/allmydata/mutable/publish.py @@ -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