From c3b0cbabba38d9f3ccdc30831a0e93b202d8c40f Mon Sep 17 00:00:00 2001 From: "Simental Magana, Marcos" Date: Thu, 4 Feb 2016 11:16:19 -0600 Subject: [PATCH] Fix W503 flake8 issue. W503 line break before binary operator Signed-off-by: Simental Magana, Marcos --- clearstack/common/util.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clearstack/common/util.py b/clearstack/common/util.py index ee89954..4efb915 100644 --- a/clearstack/common/util.py +++ b/clearstack/common/util.py @@ -226,8 +226,9 @@ def find_my_ip_from_config(config_ips): def is_localhost(host): - return (host == "localhost" or host == socket.gethostname() - or host in get_ips()) + return (host == "localhost" or + host == socket.gethostname() or + host in get_ips()) def has_localhost(hosts):