summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2014-09-08 07:35:21 +0800
committerBernard Xiong <[email protected]>2014-09-08 07:35:21 +0800
commit84e4fde774a20480e7b2307f545cae33e0643422 (patch)
treeaf05aaa6c2a5f47784e7a81595d248346c90d351
parentddd51caf62299b11e1a8826a0a67149a39142e64 (diff)
parenta1beec4ad3976367905b9f5f8bb1309a0dae42b8 (diff)
Merge pull request #337 from xfguo/ignore-pep274
Remove unsupport syntex for python 2.6.
-rw-r--r--tools/building.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/building.py b/tools/building.py
index ad5df12bcc..caa48d96ae 100644
--- a/tools/building.py
+++ b/tools/building.py
@@ -29,7 +29,7 @@ class Win32Spawn:
cmdline = cmd + " " + newargs
# Make sure the env is constructed by strings
- _e = {k: str(v) for k, v in env.items()}
+ _e = dict([(k, str(v)) for k, v in env.items()])
# Windows(tm) CreateProcess does not use the env passed to it to find
# the executables. So we have to modify our own PATH to make Popen