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

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



commit fe25e0d68647af689c4015f1728cd7dd2d48b7ee
Author: Arturo Filastò <art@xxxxxxxxx>
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']
 

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