Skip to content

Commit

Permalink
Pylint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vg12345 committed Sep 19, 2024
1 parent 0b79687 commit 6a12c14
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a12c14

Please sign in to comment.