Plugins/CheckerPlugins/Pep8/Pep8CodeSelectionDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2404
cba0ff902c2b
child 3056
9986ec0e559a
--- a/Plugins/CheckerPlugins/Pep8/Pep8CodeSelectionDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Plugins/CheckerPlugins/Pep8/Pep8CodeSelectionDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to select PEP 8 message codes.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import QCoreApplication
 from PyQt4.QtGui import QDialog, QTreeWidgetItem
 
@@ -28,7 +30,7 @@
             issues (boolean)
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(Pep8CodeSelectionDialog, self).__init__(parent)
         self.setupUi(self)
         
         codeList = [code.strip() for code in codes.split(",") if code.strip()]

eric ide

mercurial