From: Giampaolo RodolĂ  Date: Thu, 10 Feb 2011 18:42:36 +0000 (+0000) Subject: get rid of asyncore.dispatcher's debug attribute, which is no longer used (assuming... X-Git-Tag: v3.2rc3~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73acad1fa2634cb4ec77d8c98bdcd1a8b9c031ed;p=python get rid of asyncore.dispatcher's debug attribute, which is no longer used (assuming it ever was). --- diff --git a/Lib/asyncore.py b/Lib/asyncore.py index a277bddc86..f0712e2061 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -218,7 +218,6 @@ def loop(timeout=30.0, use_poll=False, map=None, count=None): class dispatcher: - debug = False connected = False accepting = False closing = False @@ -544,8 +543,6 @@ class dispatcher_with_send(dispatcher): return (not self.connected) or len(self.out_buffer) def send(self, data): - if self.debug: - self.log_info('sending %s' % repr(data)) self.out_buffer = self.out_buffer + data self.initiate_send()