--- a/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,12 @@ Module implementing a dialog to show the output of the ericapi 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 ericapi generator (string) @param parent parent widget of this dialog (QWidget) """ - super().__init__(parent) + super(EricapiExecDialog, self).__init__(parent) self.setModal(True) self.setupUi(self)