diff options
-rwxr-xr-x | scripts/shiboken2tasks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/shiboken2tasks.py b/scripts/shiboken2tasks.py index 024f53cd15..9465ad7f78 100755 --- a/scripts/shiboken2tasks.py +++ b/scripts/shiboken2tasks.py @@ -36,7 +36,8 @@ import re if __name__ == '__main__': # qt.shiboken: (<module>) <file>:<line>:[<column>:] text - pattern = re.compile(r'^qt\.shiboken: \(([^)]+)\) ([^:]+):(\d+):(?:\d+:)? (.*)$') + # file might be c:\ on Windows + pattern = re.compile(r'^qt\.shiboken: \(([^)]+)\) (..[^:]+):(\d+):(?:\d+:)? (.*)$') while True: line = sys.stdin.readline() if not line: |