force list for data exclude

This commit is contained in:
Frank DeMarco 2019-07-06 16:11:43 -04:00
parent 499d722189
commit 750b14c413
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Setup:
def build_data_map(self):
include = []
config = self.config.get_section("setup")
exclude = map(normpath, config["data-exclude"])
exclude = list(map(normpath, config["data-exclude"]))
for root, dirs, files in walk("."):
dirs = self.remove_excluded(dirs, root, exclude)
files = [join(root, f) for f in self.remove_excluded(files, root,