Kaydet (Commit) e7ffbb24 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #480882] Remove now-pointless check for existence for _curses_panel.c;

Bugfix candidate.
üst 1a48ca8c
......@@ -472,8 +472,7 @@ class PyBuildExt(build_ext):
libraries = curses_libs) )
# If the curses module is enabled, check for the panel module
if (os.path.exists('Modules/_curses_panel.c') and
module_enabled(exts, '_curses') and
if (module_enabled(exts, '_curses') and
self.compiler.find_library_file(lib_dirs, 'panel')):
exts.append( Extension('_curses_panel', ['_curses_panel.c'],
libraries = ['panel'] + curses_libs) )
......
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