mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 15:29:10 -07:00
Merge pull request #2903 from sergevanginderachter/first_found
bug fix in first_found search path assembly
This commit is contained in:
commit
332a643246
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class LookupModule(object):
|
||||||
else:
|
else:
|
||||||
for path in pathlist:
|
for path in pathlist:
|
||||||
for fn in filelist:
|
for fn in filelist:
|
||||||
os.path.join(path, fn)
|
f = os.path.join(path, fn)
|
||||||
total_search.append(f)
|
total_search.append(f)
|
||||||
else:
|
else:
|
||||||
total_search = [term]
|
total_search = [term]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue