summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-01-08 21:27:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-01-08 21:27:41 +0900
commit8d670831aeb3ba69dcb3675c513c19f2ef454917 (patch)
tree9788e5ce28aed0f893dd49a9cf3ab57872177be2
parent4ce11cc30df1805459a615960fdec204a975548a (diff)
downloadpytde-8d670831aeb3ba69dcb3675c513c19f2ef454917.tar.gz
pytde-8d670831aeb3ba69dcb3675c513c19f2ef454917.zip
Fixed FTBFS caused by commit 4ce11cc
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--configure.py2
1 files changed, 1 insertions, 1 deletions
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