diff options
| author | Barry Warsaw | 2010-10-08 17:17:34 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2010-10-08 17:17:34 -0400 |
| commit | 90814a40b82e559ebfa999df2121ba2e8e32500f (patch) | |
| tree | 072fe79321581fde129cc87e9656da855a42b270 /src/mailman/mta/deliver.py | |
| parent | 3643347f1c8548bc903e4a95a48a926cd07d307d (diff) | |
| download | mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.tar.gz mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.tar.zst mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.zip | |
Diffstat (limited to 'src/mailman/mta/deliver.py')
| -rw-r--r-- | src/mailman/mta/deliver.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mailman/mta/deliver.py b/src/mailman/mta/deliver.py index 4783296cf..78924d39a 100644 --- a/src/mailman/mta/deliver.py +++ b/src/mailman/mta/deliver.py @@ -28,8 +28,6 @@ __all__ = [ import time import logging -from lazr.config import as_boolean - from mailman.config import config from mailman.interfaces.mailinglist import Personalization from mailman.interfaces.mta import SomeRecipientsFailed @@ -150,9 +148,9 @@ def deliver(mlist, msg, msgdata): template = config.logging.smtp.failure if template.lower() != 'no': substitutions.update( - recip = recip, + recip = recipient, smtpcode = code, - smtpmsg = smtpmsg, + smtpmsg = smtp_message, ) log.info('%s', expand(template, substitutions)) # Return the results |
