DebugClients/Python3/FlexCompleter.py

changeset 4563
881340f4bd0c
parent 4543
2e6a880670e9
--- a/DebugClients/Python3/FlexCompleter.py	Sun Nov 15 13:31:39 2015 +0100
+++ b/DebugClients/Python3/FlexCompleter.py	Sun Nov 15 13:52:29 2015 +0100
@@ -190,7 +190,7 @@
                     word = self._callable_postfix(
                         val, "{0}.{1}".format(expr, word))
                     matches.append(word)
-            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