1.1 --- a/lib/operator/core.py Sat Dec 10 00:56:32 2016 +0100
1.2 +++ b/lib/operator/core.py Sat Dec 10 14:02:44 2016 +0100
1.3 @@ -37,7 +37,7 @@
1.4
1.5 try:
1.6 fn = left_accessor(a)
1.7 - except AttributeError:
1.8 + except TypeError:
1.9 pass
1.10 else:
1.11 result = fn(b)
1.12 @@ -49,7 +49,7 @@
1.13
1.14 try:
1.15 fn = right_accessor(b)
1.16 - except AttributeError:
1.17 + except TypeError:
1.18 pass
1.19 else:
1.20 result = fn(a)
1.21 @@ -76,7 +76,7 @@
1.22
1.23 try:
1.24 fn = accessor(a)
1.25 - except AttributeError:
1.26 + except TypeError:
1.27 pass
1.28 else:
1.29 result = fn()
1.30 @@ -106,7 +106,7 @@
1.31
1.32 try:
1.33 fn = augmented_accessor(a)
1.34 - except AttributeError:
1.35 + except TypeError:
1.36 pass
1.37 else:
1.38 result = fn(b)