Kaydet (Commit) c6861672 authored tarafından Éric Araujo's avatar Éric Araujo

Turn two ifs into one in the code I commited a few days ago

üst e1eef41a
......@@ -20,9 +20,8 @@ from distutils.tests import support
def _make_ext_name(modname):
if os.name == 'nt':
if sys.executable.endswith('_d.exe'):
modname += '_d'
if os.name == 'nt' and sys.executable.endswith('_d.exe'):
modname += '_d'
return modname + sysconfig.get_config_var('SO')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment