From b9d702dabeb989973537fdfcf0f696eca5593e40 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 26 Aug 2012 09:53:31 -0400 Subject: [PATCH] Quiet the library a bit. --- irclib.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/irclib.py b/irclib.py index 6964b6a..caa5066 100644 --- a/irclib.py +++ b/irclib.py @@ -187,6 +187,7 @@ class IRC(object): See documentation for IRC.__init__. """ + self.debug(2, "process_data()") for s in sockets: for c in self.connections: if s == c._get_socket(): @@ -218,6 +219,7 @@ class IRC(object): incoming data, if there are any. If that seems boring, look at the process_forever method. """ + self.debug(2, "process_once()") sockets = map(lambda x: x._get_socket(), self.connections) sockets = filter(lambda x: x != None, sockets) if sockets: @@ -236,6 +238,7 @@ class IRC(object): timeout -- Parameter to pass to process_once. """ + self.debug(1, "process_forever(timeout=%s)" % (timeout)) while 1: self.process_once(timeout) -- 2.26.2