From 0716fbcd16e2cb3664faa1753d59ae51ab782577 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Mon, 2 Feb 2009 21:12:32 -0700
Subject: [PATCH] CLI: tahoe_check: stop escaping the JSON output when using
 --raw

---
 src/allmydata/scripts/tahoe_check.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)
 
-- 
2.45.2