Browse Source

Whitespace fixes to make the commit hook on hg.python.org happy.

pull/9921/head
Larry Hastings 11 years ago
parent
commit
52e40cd9ec
  1. 4
      Lib/distutils/_msvccompiler.py
  2. 2
      Lib/distutils/tests/test_msvccompiler.py

4
Lib/distutils/_msvccompiler.py

@ -100,7 +100,7 @@ def _get_vc_env(plat_spec):
(line.partition('=') for line in out.splitlines())
if key and value
}
if vcruntime:
env['py_vcruntime_redist'] = vcruntime
return env
@ -236,7 +236,7 @@ class MSVCCompiler(CCompiler) :
'/nologo', '/Ox', '/W3', '/GL', '/DNDEBUG'
]
self.compile_options.append('/MD' if self._vcruntime_redist else '/MT')
self.compile_options_debug = [
'/nologo', '/Od', '/MDd', '/Zi', '/W3', '/D_DEBUG'
]

2
Lib/distutils/tests/test_msvccompiler.py

@ -77,7 +77,7 @@ class msvccompilerTestCase(support.TempdirManager,
compiler.initialize()
dll = compiler._vcruntime_redist
self.assertTrue(os.path.isfile(dll))
compiler._copy_vcruntime(tempdir)
self.assertFalse(os.path.isfile(os.path.join(

Loading…
Cancel
Save