From: Martin v. Löwis Date: Sat, 3 May 2003 08:45:51 +0000 (+0000) Subject: Change 'and' to 'or' in _tkinter test. X-Git-Tag: v2.3c1~879 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e86a59af886d6c0f58f53e42878a25e48627fed1;p=python Change 'and' to 'or' in _tkinter test. --- diff --git a/setup.py b/setup.py index f69ae16af4..2d6c0851cf 100644 --- a/setup.py +++ b/setup.py @@ -932,7 +932,7 @@ class PyBuildExt(build_ext): tcl_includes = find_file('tcl.h', inc_dirs, debian_tcl_include) tk_includes = find_file('tk.h', inc_dirs, debian_tk_include) - if (tcllib is None or tklib is None and + if (tcllib is None or tklib is None or tcl_includes is None or tk_includes is None): # Something's missing, so give up return