[Python-modules-commits] [qscintilla2] 07/09: Fix sip_file path detection
Scott Kitterman
kitterman at moszumanska.debian.org
Sat Dec 16 06:50:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch patch-queue/debian/master
in repository qscintilla2.
commit 630854cd8a70af82483b4b7648def67b7628da14
Author: Scott Kitterman <scott at kitterman.com>
Date: Fri Dec 15 14:05:22 2017 -0500
Fix sip_file path detection
---
Python/configure.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Python/configure.py b/Python/configure.py
index dae0f84..e517224 100644
--- a/Python/configure.py
+++ b/Python/configure.py
@@ -1355,7 +1355,7 @@ def _generate_code(target_config, opts, pkg_config, module_config):
sip_file = module_config.get_sip_file(target_config)
head, tail = os.path.split(sip_file)
- while head:
+ while head != '/':
head, tail = os.path.split(head)
if tail != sip_file:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/qscintilla2.git
More information about the Python-modules-commits
mailing list