diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-05 16:21:26 +0000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2016-12-05 11:21:26 -0500 |
commit | 2fcd4af567b6f06108368f03547552d4501cadc5 (patch) | |
tree | bc9de9042cbd3c90c087dd0073caa6e1f86d3aa8 /notification/nexmo.py | |
parent | 9684b456be7e7de1d3446273b184ebf9c61d66ba (diff) | |
download | ansible-modules-extras-2fcd4af567b6f06108368f03547552d4501cadc5.tar.gz |
Make `main()` calls conditional - notifications (#3656)
Diffstat (limited to 'notification/nexmo.py')
-rw-r--r-- | notification/nexmo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/notification/nexmo.py b/notification/nexmo.py index 89a246c0..fa6b0b22 100644 --- a/notification/nexmo.py +++ b/notification/nexmo.py @@ -138,4 +138,5 @@ def main(): from ansible.module_utils.basic import * from ansible.module_utils.urls import * -main() +if __name__ == '__main__': + main() |