From: Brian Warner Date: Wed, 14 Jan 2009 23:41:51 +0000 (-0700) Subject: download: tiny cleanup of history code X-Git-Tag: allmydata-tahoe-1.3.0~194 X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg?a=commitdiff_plain;h=aa50c30aa2585b9a67c15a8cc0cfd75404915cb0;p=tahoe-lafs%2Ftahoe-lafs.git download: tiny cleanup of history code --- diff --git a/src/allmydata/immutable/download.py b/src/allmydata/immutable/download.py index 945c8790..6e1593d1 100644 --- 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