Import ansible module_utils at bottom of file to not mess with line numbers in tracebacks

This commit is contained in:
Toshio Kuratomi 2015-05-29 13:37:47 -07:00
parent 00e54793a2
commit f3277f0f1f

View file

@ -30,7 +30,6 @@ import syslog
import platform import platform
import tempfile import tempfile
import shutil import shutil
from ansible.module_utils.urls import *
from distutils.version import LooseVersion from distutils.version import LooseVersion
try: try:
@ -891,5 +890,7 @@ def main():
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main() from ansible.module_utils.urls import *
if __name__ == '__main__':
main()