Templates/TemplatePropertiesDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2409
df3820f08247
child 3057
10516539f238
--- a/Templates/TemplatePropertiesDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Templates/TemplatePropertiesDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the templates properties dialog.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import QRegExp, Qt, pyqtSlot
 from PyQt4.QtGui import QDialog, QRegExpValidator
 
@@ -28,7 +30,7 @@
         @param itm item (TemplateEntry or TemplateGroup) to
             read the data from
         """
-        super().__init__(parent)
+        super(TemplatePropertiesDialog, self).__init__(parent)
         self.setupUi(self)
         
         if not groupMode:

eric ide

mercurial