]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
DownloadStatus.add_known_share wants to be used by Finder, web.status
authorBrian Warner <warner@lothar.com>
Mon, 1 Aug 2011 17:44:36 +0000 (10:44 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 1 Aug 2011 17:44:36 +0000 (10:44 -0700)
refs #1363

src/allmydata/immutable/downloader/status.py

index cbe9969a71e4cf8c5c5a281ca22310e6a48b19a4..738297ac60f85f97f1764da01ed0ab903609e460 100644 (file)
@@ -185,8 +185,8 @@ class DownloadStatus:
         if self.last_timestamp is None or when > self.last_timestamp:
             self.last_timestamp = when
 
-    def add_known_share(self, serverid, shnum):
-        self.known_shares.append( (serverid, shnum) )
+    def add_known_share(self, server, shnum): # XXX use me
+        self.known_shares.append( (server, shnum) )
 
     def add_problem(self, p):
         self.problems.append(p)