We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87c7f9d + b9167ca commit 4e1cfc8Copy full SHA for 4e1cfc8
kafka/conn.py
@@ -37,7 +37,7 @@ def __str__(self):
37
38
def _raise_connection_error(self):
39
self._dirty = True
40
- raise ConnectionError("Kafka @ {}:{} went away".format(self.host, self.port))
+ raise ConnectionError("Kafka @ {0}:{1} went away".format(self.host, self.port))
41
42
def _read_bytes(self, num_bytes):
43
bytes_left = num_bytes
0 commit comments