summaryrefslogtreecommitdiff
path: root/source_control/github_hooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'source_control/github_hooks.py')
-rw-r--r--source_control/github_hooks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source_control/github_hooks.py b/source_control/github_hooks.py
index eec7a6f9..0430b440 100644
--- a/source_control/github_hooks.py
+++ b/source_control/github_hooks.py
@@ -201,4 +201,5 @@ def main():
from ansible.module_utils.basic import *
from ansible.module_utils.urls import *
-main()
+if __name__ == '__main__':
+ main()