projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f11d35
)
DownloadStatus.add_known_share wants to be used by Finder, web.status
author
Brian Warner
<warner@lothar.com>
Mon, 1 Aug 2011 17:44:36 +0000
(10:44 -0700)
committer
Brian Warner
<warner@lothar.com>
Mon, 1 Aug 2011 17:44:36 +0000
(10:44 -0700)
refs #1363
src/allmydata/immutable/downloader/status.py
patch
|
blob
|
history
diff --git
a/src/allmydata/immutable/downloader/status.py
b/src/allmydata/immutable/downloader/status.py
index cbe9969a71e4cf8c5c5a281ca22310e6a48b19a4..738297ac60f85f97f1764da01ed0ab903609e460 100644
(file)
--- 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, server
id, shnum):
- self.known_shares.append( (server
id
, 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)