[tor-commits] [ooni-probe/master] hotfix: fix serialisation of reports

art at torproject.org art at torproject.org
Fri Apr 29 09:42:24 UTC 2016


commit a6e291e913148ee1764655af932573fe4f77fe2c
Author: Arturo Filastò <arturo at filasto.net>
Date:   Sun Feb 21 15:37:41 2016 +0100

    hotfix: fix serialisation of reports
---
 ooni/report/parser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ooni/report/parser.py b/ooni/report/parser.py
index a986522..bef948c 100644
--- a/ooni/report/parser.py
+++ b/ooni/report/parser.py
@@ -26,7 +26,7 @@ class ReportLoader(object):
 
     def next(self):
         try:
-            self._yfp.next()
+            return self._yfp.next()
         except StopIteration:
             self.close()
             raise StopIteration





More information about the tor-commits mailing list