Merge pull request #2825 from sergevanginderachter/firstfound-ossep

remove hardcoded unix dir separator in first_found
This commit is contained in:
Michael DeHaan 2013-05-02 05:20:55 -07:00
commit 3d60ee899c

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:
f = path + '/' + fn os.path.join(path, fn)
total_search.append(f) total_search.append(f)
else: else:
total_search = [term] total_search = [term]