diff options
author | Robert Brewer <fumanchu@aminus.org> | 2010-12-27 23:11:46 +0000 |
---|---|---|
committer | Robert Brewer <fumanchu@aminus.org> | 2010-12-27 23:11:46 +0000 |
commit | f742dac1e34123b88f77e69be2b33d48915e2855 (patch) | |
tree | bd0b973d139b4dc73fdff4231838f15d56c06bd9 /cherrypy/lib/encoding.py | |
parent | 56ef8b4f721596c1d3bf74e533e67b328e4dfba0 (diff) | |
download | cherrypy-git-f742dac1e34123b88f77e69be2b33d48915e2855.tar.gz |
Some backports (mostly whitespace, really) from the python3 branch.
Diffstat (limited to 'cherrypy/lib/encoding.py')
-rw-r--r-- | cherrypy/lib/encoding.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/lib/encoding.py b/cherrypy/lib/encoding.py index 9d8e9f10..54783646 100644 --- a/cherrypy/lib/encoding.py +++ b/cherrypy/lib/encoding.py @@ -171,13 +171,13 @@ class ResponseEncoder: # Matches any charset. Try our default. if self.debug: cherrypy.log('Attempting default encoding due ' - 'to %s' % element, 'TOOLS.ENCODE') + 'to %r' % element, 'TOOLS.ENCODE') if encoder(self.default_encoding): return self.default_encoding else: encoding = element.value if self.debug: - cherrypy.log('Attempting encoding %s (qvalue >' + cherrypy.log('Attempting encoding %r (qvalue >' '0)' % element, 'TOOLS.ENCODE') if encoder(encoding): return encoding |