summaryrefslogtreecommitdiff
path: root/inference.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2008-05-13 12:06:07 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2008-05-13 12:06:07 +0200
commitb791f43548cb4069d3c6f81d4a475540ebe60a58 (patch)
tree2aa3053aa8f1319d4d1fc4b9c0138355ae9e58b6 /inference.py
parentdedb0fc5fb17855928adb682a829aff10bbbb92d (diff)
downloadastroid-git-b791f43548cb4069d3c6f81d4a475540ebe60a58.tar.gz
catch everything since other exceptions such a ZeroDivisionError or ValueError may be raised
Diffstat (limited to 'inference.py')
-rw-r--r--inference.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/inference.py b/inference.py
index 024bde55..e2d41b78 100644
--- a/inference.py
+++ b/inference.py
@@ -452,7 +452,7 @@ def _infer_operator(self, context=None, impl=None, meth='__method__'):
continue
try:
value = impl(lhsvalue, rhsvalue)
- except TypeError:
+ except: # TypeError:
yield YES
continue
if type(value) is type(lhsvalue):