UI/ErrorLogDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/UI/ErrorLogDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/UI/ErrorLogDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to display an error log.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import os
 
 from PyQt4.QtCore import pyqtSlot
@@ -26,7 +28,7 @@
         @param logFile name of the log file containing the error info (string)
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(ErrorLogDialog, self).__init__(parent)
         self.setupUi(self)
         
         pixmap = self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(32, 32)

eric ide

mercurial