1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Cleanup imports for user

Some class use shutil, who was not imported, and we want to
avoid '*' for future refactoring.
This commit is contained in:
Michael Scherer 2016-10-19 19:26:47 +02:00 committed by Brian Coca
parent 84544ee8fd
commit 6ffd494efb

View file

@ -245,7 +245,10 @@ import grp
import platform
import socket
import time
import shutil
from ansible.module_utils._text import to_native
from ansible.module_utils.basic import load_platform_subclass, AnsibleModule
from ansible.module_utils.pycompat24 import get_exception
try:
import spwd
@ -2231,6 +2234,5 @@ def main():
module.exit_json(**result)
# import module snippets
from ansible.module_utils.basic import *
if __name__ == '__main__':
main()