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}'."
pull/16510/merge
bfloyd89 7 years ago committed by Sloane Hertel
parent 96d577c4c9
commit 1f637f06a5

@ -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…
Cancel
Save