Commit 6395d86a authored by D'Arcy J.M. Cain's avatar D'Arcy J.M. Cain

The "%d", while syntactically correct, was confusing. Added a space to

make it clearer that d was the argument to the format operator.
parent 1ef62bb6
......@@ -38,7 +38,7 @@ def _quote(d, t):
if t in ('inet', 'cidr') and d == '': return "NULL"
return "'%s'" % string.strip(re.sub("'", "''", \
re.sub("\\\\", "\\\\\\\\", "%s" %d)))
re.sub("\\\\", "\\\\\\\\", "%s" % d)))
class DB:
"""This class wraps the pg connection type"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment