DownloadStatus.add_known_share wants to be used by Finder, web.status

refs #1363
This commit is contained in:
Brian Warner 2011-08-01 10:44:36 -07:00
parent 0f11d35f85
commit b07af5e1a2

View 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)