Skip to content

Commit

Permalink
Merge pull request #4 from benfred/master
Browse files Browse the repository at this point in the history
exception handling fix
  • Loading branch information
mumrah committed Oct 29, 2012
2 parents 86b0e41 + 03d60f0 commit 786b7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class KafkaException(Exception):
def __init__(self, errorType):
self.errorType = errorType
def __str__(self):
return str(errorType)
return str(self.errorType)

Message = namedtuple("Message", ["magic", "attributes", "crc", "payload"])
FetchRequest = namedtuple("FetchRequest", ["topic", "partition", "offset", "size"])
Expand Down

0 comments on commit 786b7f9

Please sign in to comment.