Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit a05dae2

Browse files
indutnytjfontaine
authored andcommitted
gyp: fix build with python 2.6
fix #6859
1 parent 346b59e commit a05dae2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/gyp/pylib/gyp/mac_tool.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,8 @@ def _ExpandVariables(self, data, substitutions):
503503
if isinstance(data, list):
504504
return [self._ExpandVariables(v, substitutions) for v in data]
505505
if isinstance(data, dict):
506-
return {k: self._ExpandVariables(data[k], substitutions) for k in data}
506+
return dict((k, self._ExpandVariables(data[k],
507+
substitutions)) for k in data)
507508
return data
508509

509510
if __name__ == '__main__':

0 commit comments

Comments
 (0)