From b07af5e1a2e3532056783aff9e68a918dc4fe41d Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 1 Aug 2011 10:44:36 -0700 Subject: [PATCH] DownloadStatus.add_known_share wants to be used by Finder, web.status refs #1363 --- src/allmydata/immutable/downloader/status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.45.2