mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Import ansible module_utils at bottom of file to not mess with line numbers in tracebacks
This commit is contained in:
parent
b6257f73b4
commit
8976b46888
1 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,6 @@ import syslog
|
|||
import platform
|
||||
import tempfile
|
||||
import shutil
|
||||
from ansible.module_utils.urls import *
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
try:
|
||||
|
@ -891,5 +890,7 @@ def main():
|
|||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
from ansible.module_utils.urls import *
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
|
|
Loading…
Reference in a new issue