[Python-checkins] r88387 - python/branches/py3k/Lib/asyncore.py

giampaolo.rodola python-checkins at python.org
Thu Feb 10 19:42:36 CET 2011


Author: giampaolo.rodola
Date: Thu Feb 10 19:42:36 2011
New Revision: 88387

Log:
get rid of asyncore.dispatcher's debug attribute, which is no longer used (assuming it ever was).

Modified:
   python/branches/py3k/Lib/asyncore.py

Modified: python/branches/py3k/Lib/asyncore.py
==============================================================================
--- python/branches/py3k/Lib/asyncore.py	(original)
+++ python/branches/py3k/Lib/asyncore.py	Thu Feb 10 19:42:36 2011
@@ -218,7 +218,6 @@
 
 class dispatcher:
 
-    debug = False
     connected = False
     accepting = False
     closing = False
@@ -544,8 +543,6 @@
         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()
 


More information about the Python-checkins mailing list