[tor-commits] [ooni-probe/master] Adjust reporting format
art at torproject.org
art at torproject.org
Thu May 31 03:01:42 UTC 2012
commit d3817c8d3236bf581e74c2fb7a04884e2f5c4c60
Author: Arturo Filastò <hellais at gmail.com>
Date: Sun Apr 22 12:22:40 2012 +0200
Adjust reporting format
---
plugoo/reports.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/plugoo/reports.py b/plugoo/reports.py
index 90de498..c099456 100644
--- a/plugoo/reports.py
+++ b/plugoo/reports.py
@@ -50,8 +50,9 @@ class Report:
data to the reporting system
"""
#print "Writing report(s)"
- dump = '--- \n'
- dump += yaml.dump(data)
+ #dump = '--- \n'
+ dump = yaml.dump([data])
+ #dump += yaml.dump(data)
reports = []
if self.file:
More information about the tor-commits
mailing list