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:
parent
84544ee8fd
commit
6ffd494efb
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue