]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
unicode: always decode json manifest as utf-8 then encode for stdout
authorZooko O'Whielacronx <zooko@zooko.com>
Fri, 4 Jun 2010 08:48:40 +0000 (01:48 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Fri, 4 Jun 2010 08:48:40 +0000 (01:48 -0700)
commit442008a6905d7374a653e72f4350470bd8090ae7
tree4078fb13d19113af719e54552faa4fd21faf9d1d
parent952f3bf3ef0935c3f89880c7731dfaf3d1df6ff2
unicode: always decode json manifest as utf-8 then encode for stdout
pyflakes pointed out that the exception handler fallback called an un-imported function, showing that the fallback wasn't being exercised.
I'm not 100% sure that this patch is right and would appreciate François or someone reviewing it.
src/allmydata/scripts/tahoe_manifest.py
src/allmydata/test/test_cli.py