Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit d9040e9

Browse files
authored
Merge pull request #5830 from Fale/fix_main_source_control
Call main in conditional way - source_control
2 parents 3975c24 + 1b004ff commit d9040e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source_control/subversion.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,4 +304,6 @@ def main():
304304

305305
# import module snippets
306306
from ansible.module_utils.basic import *
307-
main()
307+
308+
if __name__ == '__main__':
309+
main()

0 commit comments

Comments
 (0)