Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardCharactersDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 2791
a9577f248f04
--- a/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardCharactersDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardCharactersDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog for entering character classes.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import QRegExp
 from PyQt4.QtGui import QSizePolicy, QSpacerItem, QWidget, QHBoxLayout, QLineEdit, \
     QPushButton, QDialog, QScrollArea, QComboBox, QVBoxLayout, QRegExpValidator, QLabel
@@ -29,7 +31,7 @@
         @param mode mode of the dialog (one of RegExpMode, WildcardMode, W3CMode)
         @param parent parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(QRegExpWizardCharactersDialog, self).__init__(parent)
         self.setupUi(self)
         
         self.__mode = mode

eric ide

mercurial