Commit 21582b28 authored by Robin Schneider's avatar Robin Schneider

Fix "Redefinition of exclude_checkers type from str to set"

redefined-variable-type
parent 1a91f3c9
Pipeline #12062428 passed with stages
in 2 minutes and 55 seconds
......@@ -191,10 +191,10 @@ class FdeUnlock(object):
if not selected_checkers:
return
exclude_checkers = self._cfg.get(
exclude_checkers_raw = self._cfg.get(
self._original_host, 'exclude_checkers',
fallback='')
exclude_checkers = set([a.strip() for a in exclude_checkers.split('\n') if a])
exclude_checkers = set([a.strip() for a in exclude_checkers_raw.split('\n') if a])
selected_checker_names = set([c.__name__ for c in selected_checkers])
LOG.info("Running {}s: {}".format(
parent_class.__doc__,
......
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