summaryrefslogtreecommitdiff
path: root/database/postgresql/postgresql_lang.py
diff options
context:
space:
mode:
Diffstat (limited to 'database/postgresql/postgresql_lang.py')
-rw-r--r--database/postgresql/postgresql_lang.py4
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()