--- a/QScintilla/Editor.py Tue Feb 01 19:09:00 2011 +0100
+++ b/QScintilla/Editor.py Sat Feb 05 10:55:53 2011 +0100
@@ -1302,7 +1302,7 @@
"""
try:
self.supportedEols[self.getLineSeparator()].setChecked(True)
- except AttributeError:
+ except (AttributeError, TypeError):
pass
def __eolChanged(self):