From 6a12c149c759108643ad2c12dd59e9a1bf7a5e5e Mon Sep 17 00:00:00 2001 From: Vitaly Gavensky Date: Thu, 19 Sep 2024 12:03:19 +0300 Subject: [PATCH] Pylint fix --- .../ufm_sim_web_service/isolation_mgr.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_mgr.py b/plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_mgr.py index b430e682..689ffe08 100644 --- a/plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_mgr.py +++ b/plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_mgr.py @@ -62,7 +62,9 @@ def __init__(self, ufm_client: UFMCommunicator, logger): self.switch_hca_isolation = pdr_config.getboolean(Constants.CONF_ISOLATION, Constants.SWITCH_TO_HOST_ISOLATION) self.test_mode = pdr_config.getboolean(Constants.CONF_COMMON, Constants.TEST_MODE, fallback=False) self.max_port_reset_num = pdr_config.getint(Constants.CONF_RESET, Constants.MAX_PORT_RESET_NUM, fallback=2) - self.port_reset_interval = timedelta(seconds=pdr_config.getint(Constants.CONF_RESET, Constants.PORT_RESET_INTERVAL_SECONDS, fallback=7*24*3600)) # default is 1 week in seconds + self.port_reset_interval = timedelta(seconds=pdr_config.getint(Constants.CONF_RESET, + Constants.PORT_RESET_INTERVAL_SECONDS, + fallback=7*24*3600)) # default is 1 week in seconds self.test_iteration = 0 self.logger = logger