diff options
| author | Barry Warsaw | 2014-12-17 21:36:52 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-12-17 21:36:52 -0500 |
| commit | 70ab4e70cff247ea3c9f82ba30cf612dd62c4a10 (patch) | |
| tree | c1a866b1c391557736fb8631dce51e53b521d288 /src/mailman/app/bounces.py | |
| parent | 5c08e3027d42f51608361eb8f4672ccf28d76a79 (diff) | |
| download | mailman-70ab4e70cff247ea3c9f82ba30cf612dd62c4a10.tar.gz mailman-70ab4e70cff247ea3c9f82ba30cf612dd62c4a10.tar.zst mailman-70ab4e70cff247ea3c9f82ba30cf612dd62c4a10.zip | |
Diffstat (limited to 'src/mailman/app/bounces.py')
| -rw-r--r-- | src/mailman/app/bounces.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/app/bounces.py b/src/mailman/app/bounces.py index 101d96f2a..0f39e611e 100644 --- a/src/mailman/app/bounces.py +++ b/src/mailman/app/bounces.py @@ -71,8 +71,8 @@ def bounce_message(mlist, msg, error=None): :type error: Exception """ # Bounce a message back to the sender, with an error message if provided - # in the exception argument. - if msg.sender is None: + # in the exception argument. .sender might be None or the empty string. + if not msg.sender: # We can't bounce the message if we don't know who it's supposed to go # to. return |
