mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 00:46:33 +03:00
Making my linter happy
This commit is contained in:
parent
2635f43788
commit
be8e1a2632
|
@ -566,8 +566,9 @@ class ReplicationCursor(_replicationCursor):
|
|||
command = "DROP_REPLICATION_SLOT %s" % quote_ident(slot_name, self)
|
||||
self.execute(command)
|
||||
|
||||
def start_replication(self, slot_name=None, slot_type=None, start_lsn=0,
|
||||
timeline=0, options=None, decode=False, status_interval=10):
|
||||
def start_replication(
|
||||
self, slot_name=None, slot_type=None, start_lsn=0,
|
||||
timeline=0, options=None, decode=False, status_interval=10):
|
||||
"""Start replication stream."""
|
||||
|
||||
command = "START_REPLICATION "
|
||||
|
@ -621,7 +622,8 @@ class ReplicationCursor(_replicationCursor):
|
|||
command += "%s %s" % (quote_ident(k, self), _A(str(v)))
|
||||
command += ")"
|
||||
|
||||
self.start_replication_expert(command, decode=decode, status_interval=status_interval)
|
||||
self.start_replication_expert(
|
||||
command, decode=decode, status_interval=status_interval)
|
||||
|
||||
# allows replication cursors to be used in select.select() directly
|
||||
def fileno(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user