Commit 786177f9 authored by Tomas Krizek's avatar Tomas Krizek

pylint: fix C0123 unidiomatic-typecheck

parent a77e0a7a
......@@ -46,7 +46,7 @@ def config_sanity_check(config_dict, config_name):
% (cfg['name'], config_name))
for additional in cfg["additional"]:
assert type(additional) is str,\
assert isinstance(additional, str),\
"All additional arguments in yaml should be strings. (%s, %s)"\
% (cfg['name'], config_name)
......
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