diff options
Diffstat (limited to 'src/mailman/testing/mta.py')
| -rw-r--r-- | src/mailman/testing/mta.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/testing/mta.py b/src/mailman/testing/mta.py index a75e49237..9642803e2 100644 --- a/src/mailman/testing/mta.py +++ b/src/mailman/testing/mta.py @@ -251,8 +251,7 @@ class ConnectionCountingController(QueueController): @property def messages(self): """Return all the messages received by the SMTP server.""" - for message in self: - yield message + yield from self def clear(self): """Clear all the messages from the queue.""" |
