From f1e89b1fc73f7b9647977f92c7b0c937139903d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 18 May 2003 13:40:03 +0000 Subject: [PATCH] Correct typo in check for _tkinter prerequisites. Backport of 1.162. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b18349875d4b..c1eb84840dae 100644 --- a/setup.py +++ b/setup.py @@ -716,7 +716,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 -- 2.47.3