E5Gui/E5TextSpinBox.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/E5Gui/E5TextSpinBox.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/E5Gui/E5TextSpinBox.py	Mon Mar 25 03:11:06 2013 +0100
@@ -3,6 +3,8 @@
 # Copyright (c) 2010 - 2013 Detlev Offenbach <detlev@die-offenbachs.de>
 #
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtGui import QSpinBox
 
 
@@ -16,7 +18,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(E5TextSpinBox, self).__init__(parent)
         
         self.__items = []
         

eric ide

mercurial