summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2017-03-03 17:00:35 -0800
committerDana Powers <dana.powers@gmail.com>2017-03-04 10:52:44 -0800
commitccbdf592c16ca46bfdca3fbde268affc66fdca34 (patch)
treeb5f8280aa7332dcaac860889cf9eafa2446703b0
parent61eb396bba268f892a657b2e4d7bd813aabc88ec (diff)
downloadkafka-python-ccbdf592c16ca46bfdca3fbde268affc66fdca34.tar.gz
Small style fixes in kafka.errors
-rw-r--r--kafka/errors.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/kafka/errors.py b/kafka/errors.py
index 97d9fb1..72e9b1f 100644
--- a/kafka/errors.py
+++ b/kafka/errors.py
@@ -270,7 +270,8 @@ class InconsistentGroupProtocolError(BrokerResponseError):
errno = 23
message = 'INCONSISTENT_GROUP_PROTOCOL'
description = ('Returned in join group when the member provides a protocol'
- ' type or set of protocols which is not compatible with the current group.')
+ ' type or set of protocols which is not compatible with the'
+ ' current group.')
class InvalidGroupIdError(BrokerResponseError):
@@ -333,19 +334,19 @@ class ClusterAuthorizationFailedError(BrokerResponseError):
class InvalidTimestampError(BrokerResponseError):
errno = 32
message = 'INVALID_TIMESTAMP'
- description = ('The timestamp of the message is out of acceptable range.')
+ description = 'The timestamp of the message is out of acceptable range.'
class UnsupportedSaslMechanismError(BrokerResponseError):
errno = 33
message = 'UNSUPPORTED_SASL_MECHANISM'
- description = ('The broker does not support the requested SASL mechanism.')
+ description = 'The broker does not support the requested SASL mechanism.'
class IllegalSaslStateError(BrokerResponseError):
errno = 34
message = 'ILLEGAL_SASL_STATE'
- description = ('Request is not valid given the current SASL state.')
+ description = 'Request is not valid given the current SASL state.'
class KafkaUnavailableError(KafkaError):