[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Fix bug spotted by Lunar^ that leads to incomplete reports not appearing in the report log



commit 965d782db6232238662870aa5cb5bf1adfa0225c
Author: Arturo Filastò <art@xxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits