Skip to content

Commit 15f058f

Browse files
indutnyShigeki Ohtsu
authored and
Shigeki Ohtsu
committed
gyp: fix build with python 2.6
Fixes: nodejs/node-v0.x-archive#6859 PR-URL: #1325 Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
1 parent 21f4fb6 commit 15f058f

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
@@ -603,7 +603,8 @@ def _ExpandVariables(self, data, substitutions):
603603
if isinstance(data, list):
604604
return [self._ExpandVariables(v, substitutions) for v in data]
605605
if isinstance(data, dict):
606-
return {k: self._ExpandVariables(data[k], substitutions) for k in data}
606+
return dict((k, self._ExpandVariables(data[k],
607+
substitutions)) for k in data)
607608
return data
608609

609610
if __name__ == '__main__':

0 commit comments

Comments
 (0)