From 8d670831aeb3ba69dcb3675c513c19f2ef454917 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 8 Jan 2023 21:27:41 +0900 Subject: [PATCH] Fixed FTBFS caused by commit 4ce11cc Signed-off-by: Michele Calgaro --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 9ee62de..54f4e53 100644 --- a/configure.py +++ b/configure.py @@ -624,7 +624,7 @@ def generate_code(mname, imports=None, extra_cflags=None, extra_cxxflags=None, e pyqtInclPathSeen = 0 for mod in pytde_imports [mname]: - if string.find (mod, "PyTQt.q") == 0 and not pyqtInclPathSeen: + if mod.find("PyTQt.q") == 0 and not pyqtInclPathSeen: argv.append ("-I") argv.append (pyqtcfg.pyqt_sip_dir) pyqtInclPathSeen = 1