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

removed no unused var that was not cleaned up properlly

This commit is contained in:
Brian Coca 2014-10-30 13:40:34 -04:00
parent 8b5b97d066
commit 0fb0548d0b

View file

@ -234,7 +234,7 @@ def main():
for i in options.module_path.split(os.pathsep):
utils.plugins.module_finder.add_directory(i)
if options.list_dir or options.list_deprecated:
if options.list_dir:
# list modules
paths = utils.plugins.module_finder._get_paths()
module_list = []