Skip to content
Snippets Groups Projects
Commit 5ac484ac authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Fix: Remove unknown variable in error message. (Redmine issue: #7577)

parent 52b90759
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,7 @@ class MentatDetmngrScript(mentat.script.fetcher.FetcherScript):
:rtype: dict
"""
if 'clients' not in detectors_file_data:
raise pyzenkit.zenscript.ZenScriptException("Invalid detectors file '{}' format, expected 'clients' key.".format(detectors_file))
raise pyzenkit.zenscript.ZenScriptException("Invalid detectors file format, expected 'clients' key.")
processed_data = collections.defaultdict(dict)
for client in detectors_file_data['clients']:
det = mentat.datatype.internal.t_detector_record(client, source = detectors_file_type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment