DebugClients/Python/FlexCompleter.py

changeset 4563
881340f4bd0c
parent 4543
2e6a880670e9
child 4833
803bf753032a
diff -r 5bc6ed226471 -r 881340f4bd0c DebugClients/Python/FlexCompleter.py
--- a/DebugClients/Python/FlexCompleter.py	Sun Nov 15 13:31:39 2015 +0100
+++ b/DebugClients/Python/FlexCompleter.py	Sun Nov 15 13:52:29 2015 +0100
@@ -225,7 +225,7 @@
                     match = "%s.%s" % (expr, word)
                     if match not in matches:
                         matches.append(match)
-            except:
+            except Exception:
                 # some badly behaved objects pollute dir() with non-strings,
                 # which cause the completion to fail.  This way we skip the
                 # bad entries and can still continue processing the others.

eric ide

mercurial