--- 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():