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

remove stray imports

This commit is contained in:
Michael DeHaan 2012-08-18 20:38:47 -04:00
parent b6ab5dd669
commit 6e79555621

View file

@ -452,9 +452,6 @@ def filter_leading_non_json_lines(buf):
filtered_lines.write(line + '\n')
return filtered_lines.getvalue()
import glob, imp
from os.path import join, basename, splitext
def import_plugins(directory):
modules = {}
for path in glob.glob(os.path.join(directory, '*.py')):