diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-05 16:19:27 +0000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2016-12-05 11:19:27 -0500 |
commit | 8cadf88e868eacd838f8e3786100ee500615f773 (patch) | |
tree | 44afe1fc69e2b264b77c54981464f5fdf67e3e49 /database/postgresql/postgresql_lang.py | |
parent | 572daab063f32cb3b95e4ae161dcadf7c43085bf (diff) | |
download | ansible-modules-extras-8cadf88e868eacd838f8e3786100ee500615f773.tar.gz |
Make `main()` calls conditional - database (#3659)
Diffstat (limited to 'database/postgresql/postgresql_lang.py')
-rw-r--r-- | database/postgresql/postgresql_lang.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/database/postgresql/postgresql_lang.py b/database/postgresql/postgresql_lang.py index 8e4fad37..a2543295 100644 --- a/database/postgresql/postgresql_lang.py +++ b/database/postgresql/postgresql_lang.py @@ -285,4 +285,6 @@ def main(): # import module snippets from ansible.module_utils.basic import * from ansible.module_utils.pycompat24 import get_exception -main() + +if __name__ == '__main__': + main() |