Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def build_files_map():
res = {}
for dir, dirnames, filenames in os.walk("ext"):
#print("%s, %s, %s\n" % (dir, dirnames, filenames))
di = DirInfo(dir, filenames)
for f in filenames:
res[strip_ext(f)] = di
return res