summaryrefslogtreecommitdiff
path: root/kafka/errors.py
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-03 17:00:40 -0800
commit05c0234bcffcba8561be458de70c6553471cf307 (patch)
tree4bb3266064683eaa898f783f4f82853789db16c4 /kafka/errors.py
parentc741c5342e8fbf682d6b2811ecde4f1b0491a655 (diff)
downloadkafka-python-05c0234bcffcba8561be458de70c6553471cf307.tar.gz
Small style fixes in kafka.errors
Diffstat (limited to 'kafka/errors.py')
-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):