Skip to content

Commit

Permalink
gyp: fix build with python 2.6
Browse files Browse the repository at this point in the history
fix #6859
  • Loading branch information
indutny authored and tjfontaine committed Jan 14, 2014
1 parent 346b59e commit a05dae2
Showing 1 changed file with 2 additions and 1 deletion.
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 @@ -503,7 +503,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

0 comments on commit a05dae2

Please sign in to comment.