[pylint] Fix W0612 - unused-variablie.
Unused variable 'args'
Remove variable used in exception.
[pylint] Fix W0123 (eval-used). Use of eval
change eval for ast.literal_eval