--- a/QScintilla/Lexers/LexerPython.py Fri Jan 07 12:38:39 2011 +0100 +++ b/QScintilla/Lexers/LexerPython.py Fri Jan 07 15:52:50 2011 +0100 @@ -51,7 +51,7 @@ self.setFoldComments(Preferences.getEditor("PythonFoldComment")) self.setFoldQuotes(Preferences.getEditor("PythonFoldString")) if not Preferences.getEditor("PythonAutoIndent"): - self.setAutoIndentStyle(QsciScintilla.AiMaintain) + self.setAutoIndentStyle(QsciScintilla.AiMaintain) try: self.setV2UnicodeAllowed(Preferences.getEditor("PythonAllowV2Unicode")) self.setV3BinaryOctalAllowed(Preferences.getEditor("PythonAllowV3Binary"))