Commit 003fffc0 authored by Éric Araujo's avatar Éric Araujo

Minor code simplification

parent 5837888b
...@@ -18,9 +18,8 @@ _CONFIG_VARS = get_config_vars() ...@@ -18,9 +18,8 @@ _CONFIG_VARS = get_config_vars()
def _make_ext_name(modname): def _make_ext_name(modname):
if os.name == 'nt': if os.name == 'nt' and sys.executable.endswith('_d.exe'):
if sys.executable.endswith('_d.exe'): modname += '_d'
modname += '_d'
return modname + get_config_var('SO') return modname + 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