Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 2911
ce77f0b1ee67
--- a/Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Plugins/CheckerPlugins/Pep8/Pep8StatisticsDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog showing statistical data for the last PEP 8 run.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import Qt, QCoreApplication
 from PyQt4.QtGui import QDialog, QTreeWidgetItem
 
@@ -29,7 +31,7 @@
         @param dictionary with the statistical data
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(Pep8StatisticsDialog, self).__init__(parent)
         self.setupUi(self)
         
         stats = statistics.copy()

eric ide

mercurial