summaryrefslogtreecommitdiff
path: root/kafka/protocol/api.py
diff options
context:
space:
mode:
authorAndre Araujo <araujo@cloudera.com>2017-11-15 13:12:22 -0800
committerJeff Widman <jeff@jeffwidman.com>2017-11-27 12:45:07 -0800
commit27da91641750f190da305478759016398d076e51 (patch)
treeff5430d92c168dd91c08c0c69e0446ce283dbf72 /kafka/protocol/api.py
parent16e05e7f8b4553343b47462595b9743f1f8ab900 (diff)
downloadkafka-python-27da91641750f190da305478759016398d076e51.tar.gz
Fix two bugs in printing bytes instance
Bug 1: When `value` is None, trying to call `len(None)` throws an exception. Bug 2: When len(`value`) <= 100, the code currently prints b'' rather than `value`.
Diffstat (limited to 'kafka/protocol/api.py')
0 files changed, 0 insertions, 0 deletions