From: Brian Warner Date: Wed, 17 Jan 2007 02:07:23 +0000 (-0700) Subject: oops, fix that NotEnoughPeersError instrumentation X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~369 X-Git-Url: https://git.rkrishnan.org/components/%22news.html/module-simplejson.decoder.html?a=commitdiff_plain;h=460ed845628212bc63c03e45eb67df535ee85b04;p=tahoe-lafs%2Ftahoe-lafs.git oops, fix that NotEnoughPeersError instrumentation --- diff --git a/src/allmydata/upload.py b/src/allmydata/upload.py index 29cef084..5040e44a 100644 --- a/src/allmydata/upload.py +++ b/src/allmydata/upload.py @@ -106,11 +106,11 @@ class FileUploader: self._total_peers)) if len(self.permuted) == 0: # there are no more to check - yes = ",".join([peerid_to_short_string(p) + yes = ",".join([idlib.peerid_to_short_string(p) for p in self.peers_who_said_yes]) - no = ",".join([peerid_to_short_string(p) + no = ",".join([idlib.peerid_to_short_string(p) for p in self.peers_who_said_no]) - err = ",".join([peerid_to_short_string(p) + err = ",".join([idlib.peerid_to_short_string(p) for p in self.peers_who_had_errors]) msg = ("%s goodness, want %s, have %d " "landlords, %d total peers, "