Commit 504d6943 by Alexander Popov

Fix style (I)

parent e0b9932f
...@@ -281,7 +281,7 @@ def main(): ...@@ -281,7 +281,7 @@ def main():
else: else:
kernel_version, msg = detect_kernel_version(args.config) kernel_version, msg = detect_kernel_version(args.config)
if kernel_version is None: if kernel_version is None:
if not args.kernel_version: if args.kernel_version is None:
print('[!] Hint: provide the kernel version file through --kernel-version option') print('[!] Hint: provide the kernel version file through --kernel-version option')
sys.exit(f'[!] ERROR: {msg}') sys.exit(f'[!] ERROR: {msg}')
if mode != 'json': if mode != 'json':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment