Project/Project.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2521
ca91f5ee1b23
child 2538
b2642e7a4c18
--- a/Project/Project.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Project/Project.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,12 @@
 Module implementing the project management functionality.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+try:
+    str = unicode
+except (NameError):
+    pass
+
 import os
 import time
 import shutil
@@ -159,7 +165,7 @@
         @param parent parent widget (usually the ui object) (QWidget)
         @param filename optional filename of a project file to open (string)
         """
-        super().__init__(parent)
+        super(Project, self).__init__(parent)
         
         self.ui = parent
         

eric ide

mercurial