From a10b7248a6e92956b5d3201ae744f9f038bab60c Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Mon, 19 Oct 2015 09:19:25 +0200 Subject: [PATCH] Fix a flake8 warning --- patroni/ha.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patroni/ha.py b/patroni/ha.py index 283d3678..8ed18b16 100644 --- a/patroni/ha.py +++ b/patroni/ha.py @@ -384,7 +384,8 @@ class Ha: else: # check if we are allowed to join if self.sysid_valid(self.cluster.initialize) and self.cluster.initialize != self.state_handler.sysid: - logger.fatal("system ID mismatch, node {0} belongs to a different cluster".format(self.state_handler.name)) + logger.fatal("system ID mismatch, node {0} belongs to a different cluster". + format(self.state_handler.name)) sys.exit(1) # try to start dead postgres