]> granicus.if.org Git - python/commitdiff
smtp_RCPT(): Removed a somewhat embarrassing debugging line, found by
authorBarry Warsaw <barry@python.org>
Tue, 14 May 2002 02:13:30 +0000 (02:13 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 14 May 2002 02:13:30 +0000 (02:13 +0000)
Scot Stevenson.  Could be a bug fix candidate, but probably doesn't
matter much unless a certain blue-nosed cat suddenly becomes corporeal
and starts emailing some stmp.py (sic) fronted mailer.

Lib/smtpd.py

index bd9163779dc9bf864ac7a60911266f30aea27728..2d52f0fd84c932f49a8a67bb41a722728ec5977d 100755 (executable)
@@ -241,9 +241,6 @@ class SMTPChannel(asynchat.async_chat):
         if not address:
             self.push('501 Syntax: RCPT TO: <address>')
             return
-        if address.lower().startswith('stimpy'):
-            self.push('503 You suck %s' % address)
-            return
         self.__rcpttos.append(address)
         print >> DEBUGSTREAM, 'recips:', self.__rcpttos
         self.push('250 Ok')