diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2014-01-13 16:51:57 +0000 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-01-13 22:03:40 -0800 |
commit | a05dae2cedfd8e1c0f91cd8eb04f72941fbd42f7 (patch) | |
tree | 798f5a49ad28014d29d2f5b0b5e28ddcb5b13689 | |
parent | 346b59e4a3296b92f2f00c2a697819bc56b7df71 (diff) | |
download | node-a05dae2cedfd8e1c0f91cd8eb04f72941fbd42f7.tar.gz |
gyp: fix build with python 2.6
fix #6859
-rwxr-xr-x | tools/gyp/pylib/gyp/mac_tool.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gyp/pylib/gyp/mac_tool.py b/tools/gyp/pylib/gyp/mac_tool.py index c61a3ef60..ac19b6dc8 100755 --- a/tools/gyp/pylib/gyp/mac_tool.py +++ b/tools/gyp/pylib/gyp/mac_tool.py @@ -503,7 +503,8 @@ class MacTool(object): 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__': |