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

Bugfix candidate.
This commit is contained in:
Andrew M. Kuchling 2001-12-06 15:57:16 +00:00
parent 1a48ca8c53
commit e7ffbb24e8
1 changed files with 1 additions and 2 deletions

View File

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