mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
fix smtpd.py I accidentally broke in my previous commit
This commit is contained in:
parent
5fe9cd53b2
commit
522180a60b
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ class SMTPServer(asyncore.dispatcher):
|
||||||
self.__class__.__name__, time.ctime(time.time()),
|
self.__class__.__name__, time.ctime(time.time()),
|
||||||
localaddr, remoteaddr), file=DEBUGSTREAM)
|
localaddr, remoteaddr), file=DEBUGSTREAM)
|
||||||
|
|
||||||
def handle_accept(self)
|
def handle_accept(self):
|
||||||
conn, addr = self.accept()
|
conn, addr = self.accept()
|
||||||
print('Incoming connection from %s' % repr(addr), file=DEBUGSTREAM)
|
print('Incoming connection from %s' % repr(addr), file=DEBUGSTREAM)
|
||||||
channel = self.channel_class(self, conn, addr)
|
channel = self.channel_class(self, conn, addr)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue