Modify the version check
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 15 Dec 2009 15:50:13 +0000 (15:50 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 15 Dec 2009 15:50:13 +0000 (15:50 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3122 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/qvariant_converter.py

index 97dccefa0c4afc4f20371d7157eea4ae6833d786..8ff5be3c617b6d1015c52371d971c2bfe5f42ab5 100644 (file)
@@ -40,9 +40,9 @@ from PyQt4.QtCore import PYQT_VERSION_STR
 # with older PyQt4 version.
 if PYQT_VERSION_STR <= "4.4.3":
     from qvariant_converter_old import *
-elif PYQT_VERSION_STR < "4.5.0":
+elif "4.4.3" < PYQT_VERSION_STR < "4.5":
     from qvariant_converter_4_4 import *
-elif PYQT_VERSION_STR < "4.6.0":
+elif "4.5" <= PYQT_VERSION_STR < "4.6":
     from qvariant_converter_4_5 import *
 else:
     from qvariant_converter_4_6 import *