summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
authorOleksandr Shulgin <oleksandr.shulgin@zalando.de>2015-06-10 13:39:35 +0200
committerOleksandr Shulgin <oleksandr.shulgin@zalando.de>2015-06-10 13:39:35 +0200
commit1ac385d1fb4328ba2220943741e4049fe472495b (patch)
tree10be292e2ea12550ba80880c94b0698257759136 /lib/extras.py
parent453830f80c111280e090eb35db4494db33ff5e16 (diff)
downloadpsycopg2-1ac385d1fb4328ba2220943741e4049fe472495b.tar.gz
Fix logical decoding plugin options adaptation on python3
Diffstat (limited to 'lib/extras.py')
-rw-r--r--lib/extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extras.py b/lib/extras.py
index 8118e13..7de48d7 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -569,7 +569,7 @@ class ReplicationCursor(_cursor):
for k,v in options.iteritems():
if not command.endswith('('):
command += ", "
- command += "%s %s" % (self.quote_ident(k), _A(str(v)).getquoted())
+ command += "%s %s" % (self.quote_ident(k), _A(str(v)))
command += ")"
return self.start_replication_expert(o, command, keepalive_interval)