]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
util.encodingutil: change quote_output to do less unnecessary escaping, and to use...
authordavid-sarah <david-sarah@jacaranda.org>
Fri, 23 Jul 2010 07:53:14 +0000 (00:53 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Fri, 23 Jul 2010 07:53:14 +0000 (00:53 -0700)
commit28e6ad51a794067f9b47c37dae0ec563d043ad69
tree6346078b1b40365d1879e925af4d3ae2c66fe928
parent618db4867c68a6f9e8a45f6d3779553e544b1265
util.encodingutil: change quote_output to do less unnecessary escaping, and to use double-quotes more consistently when needed. This version avoids u-escaping for characters that are representable in the output encoding, when double quotes are used, and includes tests. fixes #1135
src/allmydata/test/test_encodingutil.py
src/allmydata/util/encodingutil.py