From: Zooko O'Whielacronx Date: Thu, 2 Sep 2010 16:15:41 +0000 (-0700) Subject: download status: fix bug from me committing the wrong one of François's #1172 patches... X-Git-Tag: allmydata-tahoe-1.8.0c3~2 X-Git-Url: https://git.rkrishnan.org/specifications/%5B/%5D%20/flags/status?a=commitdiff_plain;h=63fb687a440e99a9eadb665887f1a99bc26be2f4;p=tahoe-lafs%2Ftahoe-lafs.git download status: fix bug from me committing the wrong one of François's #1172 patches, fixes #1172 --- diff --git a/src/allmydata/immutable/downloader/status.py b/src/allmydata/immutable/downloader/status.py index 82ca6b4c..4576d92c 100644 --- a/src/allmydata/immutable/downloader/status.py +++ b/src/allmydata/immutable/downloader/status.py @@ -207,7 +207,8 @@ class DownloadStatus: # a download is considered active if it has at least one outstanding # read() call for r_ev in self.read_events: - if r_ev["finish_time"] is None: + (ign1, ign2, ign3, finishtime, ign4, ign5, ign6) = r_ev + if finishtime is None: return True return False