--- a/ProjectPyramid/CreateParametersDialog.py Sat Sep 28 13:34:57 2013 +0200 +++ b/ProjectPyramid/CreateParametersDialog.py Sun Oct 27 22:43:17 2013 +0100 @@ -7,6 +7,12 @@ Module implementing a dialog for entering the create parameters. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ +try: + str = unicode +except (NameError): + pass + from PyQt4.QtCore import pyqtSlot, QProcess from PyQt4.QtGui import QDialog, QDialogButtonBox @@ -28,7 +34,7 @@ @param project reference to the project object (Project) @param parent reference to the parent widget (QWidget) """ - super().__init__(parent) + super(CreateParametersDialog, self).__init__(parent) self.setupUi(self) self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok)