Commit e98c458b by Alexander Popov

Additional check for TYPES_OF_CHECKS

parent ee10c9a4
...@@ -715,6 +715,8 @@ def populate_simple_opt_with_data(opt, data, data_type): ...@@ -715,6 +715,8 @@ def populate_simple_opt_with_data(opt, data, data_type):
opt.state = data.get(opt.name, None) opt.state = data.get(opt.name, None)
elif data_type == 'version': elif data_type == 'version':
opt.ver = data opt.ver = data
else:
sys.exit('[!] ERROR: unexpected data type "{}"'.format(data_type))
def populate_opt_with_data(opt, data, data_type): def populate_opt_with_data(opt, data, data_type):
......
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