From 68b60112c1decb2f3fcf61f4e210649bb8ef8f72 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Sun, 28 Apr 2024 10:28:35 +0200 Subject: [PATCH] fix hound issues --- eessi_bot_event_handler.py | 2 +- eessi_bot_job_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eessi_bot_event_handler.py b/eessi_bot_event_handler.py index ff36614d..5677ed2c 100644 --- a/eessi_bot_event_handler.py +++ b/eessi_bot_event_handler.py @@ -609,7 +609,7 @@ def main(): opts = event_handler_parse() # config is read and checked for settings to raise an exception early when the event_handler starts. - if config.check_required_cfg_settings(REQUIRED_CONFIG) == True: + if config.check_required_cfg_settings(REQUIRED_CONFIG): print("Configuration check: PASSED") else: print("Configuration check: FAILED") diff --git a/eessi_bot_job_manager.py b/eessi_bot_job_manager.py index 42f95cfe..e7473f00 100644 --- a/eessi_bot_job_manager.py +++ b/eessi_bot_job_manager.py @@ -577,7 +577,7 @@ def main(): # config is read and checked for settings to raise an exception early when # the job_manager runs - if config.check_required_cfg_settings(REQUIRED_CONFIG) == True: + if config.check_required_cfg_settings(REQUIRED_CONFIG): print("Configuration check: PASSED") else: print("Configuration check: FAILED")