mirror of
https://github.com/clearlinux/clearstack.git
synced 2026-06-15 18:46:35 +00:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user