diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-05 17:59:46 +0000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2016-12-05 12:59:46 -0500 |
commit | b568340d18df7767ec05b93d84c300750a1af6f3 (patch) | |
tree | e6da53ed890737cd409b6229d1ab55d6bc670b6d /files/find.py | |
parent | d90426eec2aa889d921d0ebbf88f317a13dd4974 (diff) | |
download | ansible-modules-core-b568340d18df7767ec05b93d84c300750a1af6f3.tar.gz |
Call main in conditional way - files (#5828)
Diffstat (limited to 'files/find.py')
-rw-r--r-- | files/find.py | 3 |
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() |