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:
10268a4
)
download: tiny cleanup of history code
author
Brian Warner
<warner@allmydata.com>
Wed, 14 Jan 2009 23:41:51 +0000
(16:41 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 14 Jan 2009 23:41:51 +0000
(16:41 -0700)
src/allmydata/immutable/download.py
patch
|
blob
|
history
diff --git
a/src/allmydata/immutable/download.py
b/src/allmydata/immutable/download.py
index 945c8790e59389cf5bd86408f158299b99af2a22..6e1593d14ae683e0eedbb738c191bd119dddd3f8 100644
(file)
--- a/
src/allmydata/immutable/download.py
+++ b/
src/allmydata/immutable/download.py
@@
-1190,9
+1190,8
@@
class Downloader(service.MultiService):
monitor=Monitor()
dl = CiphertextDownloader(self.parent, u.get_verify_cap(), target, monitor=monitor)
self._all_downloads[dl] = None
- s = dl.get_download_status()
if history:
- history.add_download(
s
)
+ history.add_download(
dl.get_download_status()
)
d = dl.start()
return d