]> granicus.if.org Git - python/commitdiff
get rid of asyncore.dispatcher's debug attribute, which is no longer used (assuming...
authorGiampaolo Rodolà <g.rodola@gmail.com>
Thu, 10 Feb 2011 18:42:36 +0000 (18:42 +0000)
committerGiampaolo Rodolà <g.rodola@gmail.com>
Thu, 10 Feb 2011 18:42:36 +0000 (18:42 +0000)
Lib/asyncore.py

index a277bddc86a2e3180a51ee3fd2481cf51618104b..f0712e20615fe91ff7ca4f880f80aab23a6be886 100644 (file)
@@ -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()