From: Brian Warner Date: Mon, 1 Aug 2011 17:44:36 +0000 (-0700) Subject: DownloadStatus.add_known_share wants to be used by Finder, web.status X-Git-Url: https://git.rkrishnan.org/htmlfontify-example.html?a=commitdiff_plain;h=b07af5e1a2e3532056783aff9e68a918dc4fe41d;p=tahoe-lafs%2Ftahoe-lafs.git DownloadStatus.add_known_share wants to be used by Finder, web.status refs #1363 --- diff --git a/src/allmydata/immutable/downloader/status.py b/src/allmydata/immutable/downloader/status.py index cbe9969a..738297ac 100644 --- a/src/allmydata/immutable/downloader/status.py +++ b/src/allmydata/immutable/downloader/status.py @@ -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)