Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gyp: fix build with python 2.6
fix #6859
  • Loading branch information
indutny authored and Shigeki Ohtsu committed Apr 2, 2015
commit 107a68b40d9fc4aa00b1261017445ea1bd98ce4d
3 changes: 2 additions & 1 deletion tools/gyp/pylib/gyp/mac_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,8 @@ def _ExpandVariables(self, data, substitutions):
if isinstance(data, list):
return [self._ExpandVariables(v, substitutions) for v in data]
if isinstance(data, dict):
return {k: self._ExpandVariables(data[k], substitutions) for k in data}
return dict((k, self._ExpandVariables(data[k],
substitutions)) for k in data)
return data

if __name__ == '__main__':
Expand Down