Helpviewer/HelpTopicDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3060
5883ce99ee12
diff -r 139f182b72f6 -r 8b507a9a2d40 Helpviewer/HelpTopicDialog.py
--- a/Helpviewer/HelpTopicDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Helpviewer/HelpTopicDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to select a help topic to display.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtGui import QDialog
 from PyQt4.QtCore import QUrl
 
@@ -26,7 +28,7 @@
         @param links dictionary with help topic as key (string) and
             URL as value (QUrl)
         """
-        super().__init__(parent)
+        super(HelpTopicDialog, self).__init__(parent)
         self.setupUi(self)
         
         self.label.setText(self.trUtf8("Choose a &topic for <b>{0}</b>:")\

eric ide

mercurial