]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
download status: fix bug from me committing the wrong one of François's #1172 patches...
authorZooko O'Whielacronx <zooko@zooko.com>
Thu, 2 Sep 2010 16:15:41 +0000 (09:15 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Thu, 2 Sep 2010 16:15:41 +0000 (09:15 -0700)
src/allmydata/immutable/downloader/status.py

index 82ca6b4c18041de322fb95760745f974f3687399..4576d92c761e0b950aa3b3c047f45e07739b7c68 100644 (file)
@@ -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