summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@digia.com>2012-08-21 10:07:46 +0300
committerLars Knoll <lars.knoll@nokia.com>2012-08-21 11:07:44 +0200
commit9c73a2c7700bd6a45bdc6aaada7faff7df84d670 (patch)
tree5616fd47124ee43ae8d795e058a01392691d506c
parentf7850e09778b831fbec58b1ac66be8ad24e262db (diff)
Fix a bug in patch_qmake_qt_key.py
Fix a bug when reading a value from qmake executable Change-Id: I51aafaa2932b3836d093d6d152f5ba8a02677a56 Reviewed-by: Johanna Äijälä <johanna.aijala@digia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r--release-tools/patch_qmake_qt_key.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release-tools/patch_qmake_qt_key.py b/release-tools/patch_qmake_qt_key.py
index a47f85b..3518062 100644
--- a/release-tools/patch_qmake_qt_key.py
+++ b/release-tools/patch_qmake_qt_key.py
@@ -106,7 +106,7 @@ def fetch_key(qmake_file_name, key):
text = text[end_index:]
end_index_2 = re.search('\0', text)
- value = text[0:end_index_2.end()]
+ value = text[0:end_index_2.end() - 1]
return value