[tor-commits] [ooni-probe/master] Fix bug spotted by Lunar^ that leads to incomplete reports not appearing in the report log
art at torproject.org
art at torproject.org
Fri Apr 3 13:06:25 UTC 2015
commit 965d782db6232238662870aa5cb5bf1adfa0225c
Author: Arturo Filastò <art at fuffa.org>
Date: Thu Apr 2 20:10:31 2015 +0200
Fix bug spotted by Lunar^ that leads to incomplete reports not appearing in the report log
---
ooni/reporter.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ooni/reporter.py b/ooni/reporter.py
index bf4a645..36a0e88 100644
--- a/ooni/reporter.py
+++ b/ooni/reporter.py
@@ -407,6 +407,8 @@ class OONIBReportLog(object):
os.kill(value['pid'], 0)
except:
reports.append((report_file, value))
+ elif value['status'] in ('incomplete'):
+ reports.append((report_file, value))
return reports
@property
More information about the tor-commits
mailing list