minor fixes

removed unused imports
rearranged basic import
added if/main for testing/importability
reviewable/pr18780/r1
Brian Coca 9 years ago
parent 4d82ff99e2
commit 8fac01a3cc

@ -99,10 +99,8 @@ EXAMPLES = '''
'''
import shlex
import os
import re
import sys
from ansible.module_utils.basic import AnsibleModule
def query_package(module, pkgng_path, name, dir_arg):
@ -351,8 +349,5 @@ def main():
module.exit_json(changed=changed, msg=", ".join(msgs))
# import module snippets
from ansible.module_utils.basic import *
if __name__ == '__main__':
main()

Loading…
Cancel
Save