summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiampaolo RodolĂ  <g.rodola@gmail.com>2011-02-10 18:42:36 (GMT)
committerGiampaolo RodolĂ  <g.rodola@gmail.com>2011-02-10 18:42:36 (GMT)
commit73acad1fa2634cb4ec77d8c98bdcd1a8b9c031ed (patch)
tree682476f473342dc691923053f663f9fa2f994f20
parent1fbd8e1c9aa51e87d7c36977da3e9de11a507663 (diff)
downloadcpython-73acad1fa2634cb4ec77d8c98bdcd1a8b9c031ed.zip
cpython-73acad1fa2634cb4ec77d8c98bdcd1a8b9c031ed.tar.gz
cpython-73acad1fa2634cb4ec77d8c98bdcd1a8b9c031ed.tar.bz2
get rid of asyncore.dispatcher's debug attribute, which is no longer used (assuming it ever was).
-rw-r--r--Lib/asyncore.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index a277bdd..f0712e2 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()