From: Eric S. Raymond Date: Sun, 26 Aug 2012 13:53:31 +0000 (-0400) Subject: Quiet the library a bit. X-Git-Tag: 1.0~117 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b9d702dabeb989973537fdfcf0f696eca5593e40;p=irker.git Quiet the library a bit. --- 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)