Fixed a strange issue in Editor.py.

Sat, 05 Feb 2011 10:56:13 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Feb 2011 10:56:13 +0100
changeset 875
606815a46bc0
parent 874
2d689a9b27a4
child 877
4c8dbf3a7e91

Fixed a strange issue in Editor.py.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Editor.py	Tue Feb 01 19:47:06 2011 +0100
+++ b/QScintilla/Editor.py	Sat Feb 05 10:56:13 2011 +0100
@@ -1318,7 +1318,7 @@
         """
         try:
             self.supportedEols[self.getLineSeparator()].setChecked(True)
-        except AttributeError:
+        except (AttributeError, TypeError):
             pass
         
     def __eolChanged(self):

eric ide

mercurial