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

bug fix in first_found search path assembly

This commit is contained in:
Serge van Ginderachter 2013-05-13 13:48:56 +02:00
parent 39f84b7f4d
commit 7eeab168bc

View file

@ -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]