Plugins/DocumentationPlugins/Ericdoc/EricdocExecDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 2791
a9577f248f04
--- a/Plugins/DocumentationPlugins/Ericdoc/EricdocExecDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Plugins/DocumentationPlugins/Ericdoc/EricdocExecDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,12 @@
 Module implementing a dialog to show the output of the ericdoc process.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+try:
+    str = unicode
+except (NameError):
+    pass
+
 import os.path
 
 from PyQt4.QtCore import QProcess, QTimer
@@ -33,7 +39,7 @@
         @param cmdname name of the documentation generator (string)
         @param parent parent widget of this dialog (QWidget)
         """
-        super().__init__(parent)
+        super(EricdocExecDialog, self).__init__(parent)
         self.setModal(True)
         self.setupUi(self)
         

eric ide

mercurial