Add missing whitespace around arithmetic operator

This patch is needed to pass Automation Hub tests.
This commit is contained in:
Thomas Woerner
2021-11-23 14:01:35 +01:00
parent f406de14e8
commit b88cab07ff
12 changed files with 18 additions and 17 deletions

View File

@@ -322,7 +322,7 @@ def main():
if options.domain_name is None and options.servers is not None:
if len(options.servers) > 0:
options.domain_name = options.servers[0][
options.servers[0].find(".")+1:]
options.servers[0].find(".") + 1:]
try:
self = options
@@ -704,7 +704,7 @@ def main():
cli_domain_source = ds.domain_source
logger.debug("will use discovered domain: %s", cli_domain)
client_domain = hostname[hostname.find(".")+1:]
client_domain = hostname[hostname.find(".") + 1:]
if ret in (ipadiscovery.NO_LDAP_SERVER, ipadiscovery.NOT_IPA_SERVER) \
or not ds.server: