From 0ff76320ee9ed18e4165fdd7b7251e5234ba108d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 16 Dec 2004 09:08:02 +0000 Subject: [PATCH] Removed some XXXes. --- src/utils.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/utils.py b/src/utils.py index 3154ceef7..cc05b880b 100755 --- a/src/utils.py +++ b/src/utils.py @@ -210,12 +210,9 @@ def dqrepr(s): # return '"' + repr("'\x00" + s)[6:] return '"%s"' % s.encode('string_escape').replace('"', '\\"') -#XXX We're using this to centralize how we quote a string since %r/repr() -# doesn't play nicely with unicode characters. This eventually needs to be -# replaced to *not* use repr() def quoted(s): """Returns a quoted s.""" - return repr(s) + return '"%s"' % s nonEscapedSlashes = re.compile(r'(?