Enabled usage of home folder/tilde ~ in Configure.find_files

This commit is contained in:
Simon 2015-10-30 01:00:33 +01:00
parent 975fdde91b
commit 921483b335
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ def find_file(self, filename, path_list=[]):
""" """
for n in Utils.to_list(filename): for n in Utils.to_list(filename):
for d in Utils.to_list(path_list): for d in Utils.to_list(path_list):
p = os.path.join(d, n) p = os.path.join(os.path.expanduser(d), n)
if os.path.exists(p): if os.path.exists(p):
return p return p
self.fatal('Could not find %r' % filename) self.fatal('Could not find %r' % filename)