[tor-commits] [ooni-probe/master] Update parser to the changes in the report format

art at torproject.org art at torproject.org
Fri Dec 7 02:10:48 UTC 2012


commit fe25e0d68647af689c4015f1728cd7dd2d48b7ee
Author: Arturo Filastò <art at fuffa.org>
Date:   Fri Dec 7 03:10:29 2012 +0100

    Update parser to the changes in the report format
---
 scripts/example_parser.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/example_parser.py b/scripts/example_parser.py
index 6c0dfab..050312b 100644
--- a/scripts/example_parser.py
+++ b/scripts/example_parser.py
@@ -15,7 +15,7 @@ print "Test name: %s" % report_header['test_name']
 print "Test version: %s" % report_header['test_version']
 
 for report_entry in yamloo:
-    print "Test: %s" % report_entry['test']
+    print "Test: %s" % report_entry['test_name']
     print "Input: %s" % report_entry['input']
     print "Report: %s" % report_entry['report']
 



More information about the tor-commits mailing list