]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
oops, fix that NotEnoughPeersError instrumentation
authorBrian Warner <warner@allmydata.com>
Wed, 17 Jan 2007 02:07:23 +0000 (19:07 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 17 Jan 2007 02:07:23 +0000 (19:07 -0700)
src/allmydata/upload.py

index 29cef084babbb2502a0665ee24f34b65659ee892..5040e44a004fc6c64c517433bf5c54c202ab7e70 100644 (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, "