Fixed a strange issue in Editor.py. 5_0_x

Sat, 05 Feb 2011 10:55:53 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Feb 2011 10:55:53 +0100
branch
5_0_x
changeset 876
e21d70cf933c
parent 873
0d19ab5e30f8
child 879
f13be7b268e9

Fixed a strange issue in Editor.py.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- 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):

eric ide

mercurial