Refactor to use new protocol module and sipo.
[bertos.git] / wizard / qvariant_converter.py
index 97dccefa0c4afc4f20371d7157eea4ae6833d786..85fec2c0f21b7fcb0c36c782b0789b1b8f456068 100644 (file)
@@ -28,7 +28,6 @@
 #
 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
 #
-# $Id$
 #
 # Author: Lorenzo Berni <duplo@develer.com>
 #
@@ -40,9 +39,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 *