Make main() calls conditional - packaging (#3650)

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 16:23:08 +00:00 committed by Matt Clay
parent 95be8b8276
commit 007abb5373
17 changed files with 41 additions and 18 deletions

View file

@ -286,4 +286,6 @@ def main():
# import module snippets
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()