Browse Source

Merge pull request #178 from danielfaulknor/python-3.6

Fix for Python 3.6
pull/179/merge
Pēteris Caune 6 years ago
committed by GitHub
parent
commit
33d8a1505c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/api/management/commands/smtpd.py

+ 1
- 1
hc/api/management/commands/smtpd.py View File

@ -13,7 +13,7 @@ class Listener(SMTPServer):
self.stdout = stdout
super(Listener, self).__init__(localaddr, None)
def process_message(self, peer, mailfrom, rcpttos, data):
def process_message(self, peer, mailfrom, rcpttos, data, mail_options=None, rcpt_options=None):
to_parts = rcpttos[0].split("@")
code = to_parts[0]


Loading…
Cancel
Save