aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/_config.py.in
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2018-06-08 17:42:21 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2018-06-08 15:55:44 +0000
commitf7c82c638ee0587d2d8697cda26b18002d7621ce (patch)
tree09f175db3ef648514208d4177eedf83bc7cb7af6 /sources/pyside2/PySide2/_config.py.in
parent9bf80d1b4b2aa9930bfee41b874ede0e204e3324 (diff)
Fix failing versioninfo_test when the version is not a pre-release one
The test used to fail when pre-release version parts are empty (aka there is no "beta1" or "alpha2"). Make sure to always include at least an empty string when those version parts are not set, and adjust the test accordintly to check for a string. Change-Id: Ia30bb99de7f122456e132516346df4e3c0a1fa94 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/_config.py.in')
-rw-r--r--sources/pyside2/PySide2/_config.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/_config.py.in b/sources/pyside2/PySide2/_config.py.in
index 6f8d022dc..31a2f7a50 100644
--- a/sources/pyside2/PySide2/_config.py.in
+++ b/sources/pyside2/PySide2/_config.py.in
@@ -6,7 +6,7 @@ shiboken_library_soversion = str(@SHIBOKEN_SO_VERSION@)
pyside_library_soversion = str(@PYSIDE_SO_VERSION@)
version = "@FINAL_PACKAGE_VERSION@"
-version_info = (@BINDING_API_MAJOR_VERSION@, @BINDING_API_MINOR_VERSION@, @BINDING_API_MICRO_VERSION@, "@BINDING_API_PRE_RELEASE_VERSION_TYPE@", @BINDING_API_PRE_RELEASE_VERSION@)
+version_info = (@BINDING_API_MAJOR_VERSION@, @BINDING_API_MINOR_VERSION@, @BINDING_API_MICRO_VERSION@, "@BINDING_API_PRE_RELEASE_VERSION_TYPE@", "@BINDING_API_PRE_RELEASE_VERSION@")
@PYSIDE_BUILD_DATE@
@PYSIDE_BUILD_COMMIT_DATE@