Preferences/ProgramsDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 2677
3d4277929fb3
--- a/Preferences/ProgramsDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Preferences/ProgramsDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,12 @@
 Module implementing the Programs page.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+try:
+    str = unicode
+except (NameError):
+    pass
+
 import os
 import re
 
@@ -32,7 +38,7 @@
         
         @param parent The parent widget of this dialog. (QWidget)
         """
-        super().__init__(parent)
+        super(ProgramsDialog, self).__init__(parent)
         self.setupUi(self)
         self.setObjectName("ProgramsDialog")
         

eric ide

mercurial