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

@@ -926,7 +926,7 @@ def main():
host_name = host_name.lower()
if not options.domain_name:
domain_name = host_name[host_name.find(".")+1:]
domain_name = host_name[host_name.find(".") + 1:]
try:
validate_domain_name(domain_name)
except ValueError as e:

View File

@@ -64,7 +64,7 @@ else:
# See ipapython/version.py
IPA_MAJOR, IPA_MINOR, IPA_RELEASE = [int(x) for x in
VERSION.split(".", 2)]
IPA_PYTHON_VERSION = IPA_MAJOR*10000 + IPA_MINOR*100 + IPA_RELEASE
IPA_PYTHON_VERSION = IPA_MAJOR * 10000 + IPA_MINOR * 100 + IPA_RELEASE
else:
IPA_PYTHON_VERSION = NUM_VERSION