From: Brian Warner Date: Tue, 3 Feb 2009 04:12:32 +0000 (-0700) Subject: CLI: tahoe_check: stop escaping the JSON output when using --raw X-Git-Tag: allmydata-tahoe-1.3.0~102 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/css/flags?a=commitdiff_plain;h=0716fbcd16e2cb3664faa1753d59ae51ab782577;p=tahoe-lafs%2Ftahoe-lafs.git CLI: tahoe_check: stop escaping the JSON output when using --raw --- diff --git a/src/allmydata/scripts/tahoe_check.py b/src/allmydata/scripts/tahoe_check.py index ed366f11..a52d5b2d 100644 --- a/src/allmydata/scripts/tahoe_check.py +++ b/src/allmydata/scripts/tahoe_check.py @@ -35,7 +35,8 @@ def check(options): return 1 jdata = resp.read() if options.get("raw"): - pprint(jdata, stream=stdout) + stdout.write(jdata) + stdout.write("\n") return 0 data = simplejson.loads(jdata)