summaryrefslogtreecommitdiff
path: root/protocols.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-15 12:17:32 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-15 12:17:32 +0100
commit2976a31a05f6738e0440885531e1a527cd2b807d (patch)
tree00418359b2d8a333cc5107e57a74f484cd1645f8 /protocols.py
parent616a5be4d2dee8f16683306ac5bcc62c65c638fd (diff)
downloadastroid-git-2976a31a05f6738e0440885531e1a527cd2b807d.tar.gz
2to3 : use py2.x compatible fixers
Diffstat (limited to 'protocols.py')
-rw-r--r--protocols.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols.py b/protocols.py
index 59295b88..301ef0fc 100644
--- a/protocols.py
+++ b/protocols.py
@@ -87,7 +87,7 @@ def const_infer_binary_op(self, operator, other, context):
try:
yield const_factory(impl(self.value, other.value))
- except StandardError:
+ except Exception:
# ArithmeticError is not enough: float >> float is a TypeError
# TODO : let pylint know about the problem
pass