QScintilla/SpellChecker.py

changeset 4563
881340f4bd0c
parent 4322
b4163b6ae674
child 4631
5c1a96925da4
diff -r 5bc6ed226471 -r 881340f4bd0c QScintilla/SpellChecker.py
--- a/QScintilla/SpellChecker.py	Sun Nov 15 13:31:39 2015 +0100
+++ b/QScintilla/SpellChecker.py	Sun Nov 15 13:52:29 2015 +0100
@@ -151,7 +151,7 @@
         
         try:
             d = enchant.DictWithPWL(lang, pwl, pel)
-        except:
+        except Exception:
             # Catch all exceptions, because if pyenchant isn't available, you
             # can't catch the enchant.DictNotFound error.
             d = None

eric ide

mercurial