commit d9656bc7187a10774bac3851b33fe4118b10c7a9 Author: Arturo Filastò arturo@filasto.net Date: Sat Jan 30 12:36:49 2016 +0100
Maintain backward compatibility --- ooni/reporter.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/ooni/reporter.py b/ooni/reporter.py index 63d6f15..66a3e86 100644 --- a/ooni/reporter.py +++ b/ooni/reporter.py @@ -199,6 +199,7 @@ class YAMLReporter(OReporter): raise Exception("Failed to serialise entry") content += safe_dump(report_entry) content += '...\n' + report_entry.update(self.testDetails) self._write(content)
def createReport(self): @@ -292,6 +293,7 @@ class OONIBReporter(OReporter): report_entry = entry else: raise Exception("Failed to serialise entry") + report_entry.update(self.testDetails) content += safe_dump(report_entry) content += '...\n' return content