--- a/ProjectPyramid/DistributionTypeSelectionDialog.py Sat Sep 28 13:34:57 2013 +0200 +++ b/ProjectPyramid/DistributionTypeSelectionDialog.py Sun Oct 27 22:43:17 2013 +0100 @@ -7,6 +7,12 @@ Module implementing a dialog to select the distribution file formats. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ +try: + str = unicode +except (NameError): + pass + from PyQt4.QtCore import Qt, QProcess from PyQt4.QtGui import QDialog, QListWidgetItem @@ -29,7 +35,7 @@ @param projectPath path of the Pyramid project (string) @param parent reference to the parent widget (QWidget) """ - super().__init__(parent) + super(DistributionTypeSelectionDialog, self).__init__(parent) self.setupUi(self) errMsg = ""