projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfce8b5
)
CLI: tahoe_check: stop escaping the JSON output when using --raw
author
Brian Warner
<warner@allmydata.com>
Tue, 3 Feb 2009 04:12:32 +0000
(21:12 -0700)
committer
Brian Warner
<warner@allmydata.com>
Tue, 3 Feb 2009 04:12:32 +0000
(21:12 -0700)
src/allmydata/scripts/tahoe_check.py
patch
|
blob
|
history
diff --git
a/src/allmydata/scripts/tahoe_check.py
b/src/allmydata/scripts/tahoe_check.py
index ed366f118316b9c22735b00a72f73a1e244863f7..a52d5b2dc93336fe72fc69428f065fd22a67a5cf 100644
(file)
--- 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)