summaryrefslogtreecommitdiff
path: root/files/find.py
diff options
context:
space:
mode:
Diffstat (limited to 'files/find.py')
-rw-r--r--files/find.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/find.py b/files/find.py
index 3fdf2646..f6bfbebe 100644
--- a/files/find.py
+++ b/files/find.py
@@ -374,5 +374,6 @@ def main():
# import module snippets
from ansible.module_utils.basic import *
-main()
+if __name__ == '__main__':
+ main()