From 460ed845628212bc63c03e45eb67df535ee85b04 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 16 Jan 2007 19:07:23 -0700 Subject: [PATCH] oops, fix that NotEnoughPeersError instrumentation --- src/allmydata/upload.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, " -- 2.45.2