From ceee715fc7bf17b28ff5a10f1f7decc8974f6506 Mon Sep 17 00:00:00 2001 From: Mahendra M Date: Tue, 8 Oct 2013 14:46:02 +0530 Subject: Add proper string representations for each class --- kafka/conn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka/conn.py') diff --git a/kafka/conn.py b/kafka/conn.py index 14aebc6..712b24d 100644 --- a/kafka/conn.py +++ b/kafka/conn.py @@ -29,7 +29,7 @@ class KafkaConnection(local): self._sock.settimeout(10) self._dirty = False - def __str__(self): + def __repr__(self): return "" % (self.host, self.port) ################### -- cgit v1.2.1