mirror of https://github.com/kewlfft/ansible-aur
change urllib to six.moves for python2/3 support
ref: http://ansible-manual.readthedocs.io/en/stable-2.2/dev_guide/developing_modules_python3.htmlpull/1/head
parent
4fa1048430
commit
a5660940a3
3
aur.py
3
aur.py
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
from ansible.module_utils.basic import *
|
from ansible.module_utils.basic import *
|
||||||
import json
|
import json
|
||||||
import urllib.request
|
from ansible.module_utils import six
|
||||||
|
from six.moves import urllib
|
||||||
import tarfile
|
import tarfile
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
|
|
Loading…
Reference in New Issue