Preferences/PreferencesLexer.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2503
3f1fa98e8e03
child 3057
10516539f238
diff -r 139f182b72f6 -r 8b507a9a2d40 Preferences/PreferencesLexer.py
--- a/Preferences/PreferencesLexer.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Preferences/PreferencesLexer.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a special QextScintilla lexer to handle the preferences.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtGui import QColor, QFont, QApplication
 from PyQt4.Qsci import QsciLexer
 
@@ -68,7 +70,7 @@
         @param language The lexer language. (string)
         @param parent The parent widget of this lexer. (QextScintilla)
         """
-        super().__init__(parent)
+        super(PreferencesLexer, self).__init__(parent)
         
         # These default font families are taken from QScintilla
         if Globals.isWindowsPlatform():

eric ide

mercurial