diff options
author | Giampaolo RodolĂ <g.rodola@gmail.com> | 2011-02-10 18:42:36 (GMT) |
---|---|---|
committer | Giampaolo RodolĂ <g.rodola@gmail.com> | 2011-02-10 18:42:36 (GMT) |
commit | 73acad1fa2634cb4ec77d8c98bdcd1a8b9c031ed (patch) | |
tree | 682476f473342dc691923053f663f9fa2f994f20 /Lib | |
parent | 1fbd8e1c9aa51e87d7c36977da3e9de11a507663 (diff) | |
download | cpython-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).
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/asyncore.py | 3 |
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() |