Skip to content
Snippets Groups Projects
Commit d24dac3d authored by Thomas Boettcher's avatar Thomas Boettcher
Browse files

missed adding local directory

parent 993a77c3
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ def filenamefilter(dirname):
# filter unlinkable files
# separate dirs and files
dirlist = os.listdir(dirname)
l = [f for f in dirlist if os.path.isdir(f) and f not in [".git"]]
l = [f for f in dirlist if os.path.isdir(os.path.join(dirname, f)) and f not in [".git"]]
hostbased = [f.group(1) for f in map(lambda x: re.match("^(.+)--.+$", x), l) if f]
if hostbased:
regex = "^(%s)(--.+)?$" % "|".join(hostbased)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment