oops, fix that NotEnoughPeersError instrumentation

This commit is contained in:
Brian Warner 2007-01-16 19:07:23 -07:00
parent fed539a16d
commit 460ed84562

View File

@ -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, "