Helpviewer/History/HistoryDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3057
10516539f238
--- a/Helpviewer/History/HistoryDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Helpviewer/History/HistoryDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to manage history.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import pyqtSignal, Qt, QUrl
 from PyQt4.QtGui import QDialog, QFontMetrics, QMenu, QCursor, QApplication
 
@@ -34,7 +36,7 @@
         @param parent reference to the parent widget (QWidget
         @param manager reference to the history manager object (HistoryManager)
         """
-        super().__init__(parent)
+        super(HistoryDialog, self).__init__(parent)
         self.setupUi(self)
         
         self.__historyManager = manager

eric ide

mercurial