aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/pg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/python/pg.py')
-rw-r--r--src/interfaces/python/pg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/python/pg.py b/src/interfaces/python/pg.py
index 6f458af5aa8..189ac112202 100644
--- a/src/interfaces/python/pg.py
+++ b/src/interfaces/python/pg.py
@@ -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"""