From 63fb687a440e99a9eadb665887f1a99bc26be2f4 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Thu, 2 Sep 2010 09:15:41 -0700
Subject: [PATCH] =?utf8?q?download=20status:=20fix=20bug=20from=20me=20com?=
 =?utf8?q?mitting=20the=20wrong=20one=20of=20Fran=C3=A7ois's=20#1172=20pat?=
 =?utf8?q?ches,=20fixes=20#1172?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 src/allmydata/immutable/downloader/status.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
 
-- 
2.45.2