Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions testgres/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
MAX_REPLICATION_SLOTS, \
MAX_WORKER_PROCESSES, \
MAX_WAL_SENDERS, \
WAL_KEEP_SEGMENTS
WAL_KEEP_SEGMENTS, \
WAL_KEEP_SIZE

from .decorators import \
method_decorator, \
Expand Down Expand Up @@ -525,8 +526,8 @@ def get_auth_method(t):
wal_level=wal_level) # yapf: disable
else:
self.append_conf(hot_standby=True,
wal_keep_size=WAL_KEEP_SIZE,
wal_level=wal_level) # yapf: disable
wal_keep_size=WAL_KEEP_SIZE,
wal_level=wal_level) # yapf: disable

# logical replication
if allow_logical:
Expand Down
2 changes: 1 addition & 1 deletion testgres/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def execute_utility(args, logfile=None):

if out:
# comment-out lines
lines = ('# ' + l for l in out.splitlines(True))
lines = ('# ' + line for line in out.splitlines(True))
file_out.write(u'\n')
file_out.writelines(lines)

Expand Down