1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

remove self from function outside of class (#24017)

* remove self from function outside of class

* fix indentation
This commit is contained in:
mattwwarren 2017-05-03 11:49:43 -04:00 committed by Sloane Hertel
parent a3053d8c2c
commit 45ac28ba04

View file

@ -257,7 +257,7 @@ def main():
elbs=elb_information.list_elbs()) elbs=elb_information.list_elbs())
except BotoServerError as err: except BotoServerError as err:
self.module.fail_json(msg="{0}: {1}".format(err.error_code, err.error_message), module.fail_json(msg="{0}: {1}".format(err.error_code, err.error_message),
exception=traceback.format_exc()) exception=traceback.format_exc())
module.exit_json(**ec2_facts_result) module.exit_json(**ec2_facts_result)