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:
parent
8b5b97d066
commit
0fb0548d0b
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ def main():
|
||||||
for i in options.module_path.split(os.pathsep):
|
for i in options.module_path.split(os.pathsep):
|
||||||
utils.plugins.module_finder.add_directory(i)
|
utils.plugins.module_finder.add_directory(i)
|
||||||
|
|
||||||
if options.list_dir or options.list_deprecated:
|
if options.list_dir:
|
||||||
# list modules
|
# list modules
|
||||||
paths = utils.plugins.module_finder._get_paths()
|
paths = utils.plugins.module_finder._get_paths()
|
||||||
module_list = []
|
module_list = []
|
||||||
|
|
Loading…
Reference in a new issue