diff --git a/testgres/node.py b/testgres/node.py index 81866e89..5835541d 100644 --- a/testgres/node.py +++ b/testgres/node.py @@ -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, \ @@ -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: diff --git a/testgres/utils.py b/testgres/utils.py index 6c6f0e9b..47228e60 100644 --- a/testgres/utils.py +++ b/testgres/utils.py @@ -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)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: