Make `main()` calls conditional - commands (#3655)

pull/4420/head
Fabio Alessandro Locati 2016-12-05 16:25:01 +00:00 committed by Matt Clay
parent cefb569797
commit 7a2d1a4210
1 changed files with 2 additions and 1 deletions

View File

@ -234,4 +234,5 @@ def main():
from ansible.module_utils.basic import *
from ansible.module_utils.pycompat24 import get_exception
main()
if __name__ == '__main__':
main()