Browse Source

gyp: fix build with python 2.6

fix #6859
v0.10.25-release
Fedor Indutny 11 years ago
committed by Timothy J Fontaine
parent
commit
a05dae2ced
  1. 3
      tools/gyp/pylib/gyp/mac_tool.py

3
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__':

Loading…
Cancel
Save