summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2014-10-14 09:23:11 -0300
committerVictor Shyba <victor.shyba@gmail.com>2014-10-14 09:23:11 -0300
commit9446c8df4627b8f5955def0fd86c9bf1924255fe (patch)
treeff541dd7cbe60283de2330727e51854b0e2f87fe /service
parent8920e778ebcca264673bf5c606d6efd0edc642d6 (diff)
More readability for logs while adding listeners #103
Diffstat (limited to 'service')
-rw-r--r--service/pixelated/adapter/listener.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/pixelated/adapter/listener.py b/service/pixelated/adapter/listener.py
index ca264f31..4bbb6b4f 100644
--- a/service/pixelated/adapter/listener.py
+++ b/service/pixelated/adapter/listener.py
@@ -44,3 +44,6 @@ class MailboxListener(object):
def __hash__(self):
return self.mailbox_name.__hash__()
+
+ def __repr__(self):
+ return 'MailboxListener: ' + self.mailbox_name