summaryrefslogtreecommitdiff
path: root/kafka/protocol
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2017-12-07 15:07:31 -0800
committerJeff Widman <jeff@jeffwidman.com>2017-12-07 18:45:42 -0800
commit43511aa7fac950e07376872443db133cbb21530c (patch)
tree50bf55ebe41bb457906cabc575c6c2d12da630e3 /kafka/protocol
parent009290ddd5d4616d70bff93f841e773af8b22750 (diff)
downloadkafka-python-minor-exception-cleanup.tar.gz
Minor Exception cleanupminor-exception-cleanup
Diffstat (limited to 'kafka/protocol')
-rw-r--r--kafka/protocol/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/protocol/types.py b/kafka/protocol/types.py
index 22b49a4..99dc2a2 100644
--- a/kafka/protocol/types.py
+++ b/kafka/protocol/types.py
@@ -144,7 +144,7 @@ class Schema(AbstractType):
field_val = value[i]
key_vals.append('%s=%s' % (self.names[i], self.fields[i].repr(field_val)))
return '(' + ', '.join(key_vals) + ')'
- except:
+ except Exception:
return repr(value)