ProjectPyramid/DistributionTypeSelectionDialog.py

changeset 56
c7adc68350dd
parent 34
d20f7218d53c
child 57
e654970c913e
--- 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 = ""

eric ide

mercurial