Merge pull request #337 from xfguo/ignore-pep274

Remove unsupport syntex for python 2.6.
This commit is contained in:
Bernard Xiong 2014-09-08 07:35:21 +08:00
commit 84e4fde774
1 changed files with 1 additions and 1 deletions

View File

@ -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