Skip to content

Commit 083f374

Browse files
erikwaolofk
authored andcommitted
Workaround for issue with parentheses in filenames
1 parent fc3456d commit 083f374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fusesoc/capi2/coredata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def _expand_use(self, data, flags):
2525
# issues with strings containing for instance parentheses
2626
if type(v) == str and len(v) > 0 and "?" in v:
2727
data[k] = Exprs(v).expand(flags)
28-
if type(k) == str:
28+
if type(k) == str and "?" in k:
2929
expanded_k = Exprs(k).expand(flags)
3030
if len(expanded_k) == 0:
3131
remove.append(k)

0 commit comments

Comments
 (0)