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