Make lambda_event.py python 2.6 compatible (#27241)
"Changed in version 2.7: The positional argument specifiers can be omitted, so '{} {}' is equivalent to '{0} {1}'."
This commit is contained in:
parent
96d577c4c9
commit
1f637f06a5
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ def main():
|
|||
|
||||
validate_params(module, aws)
|
||||
|
||||
this_module_function = getattr(this_module, 'lambda_event_{}'.format(module.params['event_source'].lower()))
|
||||
this_module_function = getattr(this_module, 'lambda_event_{0}'.format(module.params['event_source'].lower()))
|
||||
|
||||
results = this_module_function(module, aws)
|
||||
|
||||
|
|
Loading…
Reference in a new issue