No need to pop target there, exec_func is already code for me

This commit is contained in:
Fabio Manganiello 2017-11-09 01:37:10 +01:00
parent 9be53683f8
commit e8c9cca433

View file

@ -76,7 +76,6 @@ def _exec_func(body, retry=True):
logging.warn('No action specified')
return
target = body.pop('target')
action = body.pop('action')
tokens = action.split('.')
module_name = str.join('.', tokens[:-1])