Fix W503 flake8 issue.

W503 line break before binary operator

Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
This commit is contained in:
Simental Magana, Marcos
2016-02-04 11:16:19 -06:00
parent fea1008196
commit c3b0cbabba
+3 -2
View File
@@ -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):