Skip to content

Commit 73acad1

Browse files
committed
get rid of asyncore.dispatcher's debug attribute, which is no longer used (assuming it ever was).
1 parent 1fbd8e1 commit 73acad1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/asyncore.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ def loop(timeout=30.0, use_poll=False, map=None, count=None):
218218

219219
class dispatcher:
220220

221-
debug = False
222221
connected = False
223222
accepting = False
224223
closing = False
@@ -544,8 +543,6 @@ def writable(self):
544543
return (not self.connected) or len(self.out_buffer)
545544

546545
def send(self, data):
547-
if self.debug:
548-
self.log_info('sending %s' % repr(data))
549546
self.out_buffer = self.out_buffer + data
550547
self.initiate_send()
551548

0 commit comments

Comments
 (0)