mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 03:14:21 +00:00
DownloadStatus.add_known_share wants to be used by Finder, web.status
refs #1363
This commit is contained in:
parent
0f11d35f85
commit
b07af5e1a2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user