Skip to content

Commit 48bb1a5

Browse files
author
Cruz Monrreal
authored
Merge pull request #8577 from lassebm/fix-makefile-export-with-python-3
Fix Makefile export with Python 3
2 parents 1608fbb + b31156a commit 48bb1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/makefile/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def format_flags(self):
165165
flags = {}
166166
for k, v in self.flags.items():
167167
if k in ['c_flags', 'cxx_flags']:
168-
flags[k] = map(lambda x: x.replace('"', '\\"'), v)
168+
flags[k] = list(map(lambda x: x.replace('"', '\\"'), v))
169169
else:
170170
flags[k] = v
171171

0 commit comments

Comments
 (0)