From 44a9979ba285037bab4c4327fde41077f12d631c Mon Sep 17 00:00:00 2001 From: Marc Ian Bucad Date: Mon, 14 Jan 2019 13:06:11 +1100 Subject: [PATCH] fix E231 --- postgres/datadog_checks/postgres/postgres.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/datadog_checks/postgres/postgres.py b/postgres/datadog_checks/postgres/postgres.py index 6981e0f1a8507..dba5c55cf935c 100644 --- a/postgres/datadog_checks/postgres/postgres.py +++ b/postgres/datadog_checks/postgres/postgres.py @@ -1046,7 +1046,7 @@ def check(self, instance): tags = list(set(tags)) # preset tags to host (if using socket) or host-port - tags.extend(["pg_instance:%s" % (host if host.startswith('/') else "{}-{}".format(host,port))]) + tags.extend(["pg_instance:%s" % (host if host.startswith('/') else "{}-{}".format(host, port))]) # preset tags to the database name tags.extend(["db:%s" % dbname])