Commit 7e625e31 by Alexander Popov

Fix a pylint warning about f-string

parent b6ff232a
...@@ -255,7 +255,7 @@ def populate_simple_opt_with_data(opt, data, data_type): ...@@ -255,7 +255,7 @@ def populate_simple_opt_with_data(opt, data, data_type):
assert(data_type in SIMPLE_OPTION_TYPES), \ assert(data_type in SIMPLE_OPTION_TYPES), \
f'invalid data type "{data_type}"' f'invalid data type "{data_type}"'
assert(data), \ assert(data), \
f'empty data' 'empty data'
if data_type != opt.type: if data_type != opt.type:
return return
......
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