diff options
Diffstat (limited to 'src/mailman/bouncers/exchange.py')
| -rw-r--r-- | src/mailman/bouncers/exchange.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/bouncers/exchange.py b/src/mailman/bouncers/exchange.py index 380165c94..5fff89282 100644 --- a/src/mailman/bouncers/exchange.py +++ b/src/mailman/bouncers/exchange.py @@ -54,7 +54,7 @@ class Exchange: if scre.search(line): break else: - return [] + return set() # Search each line until we hit the end line. for line in it: if ecre.search(line): @@ -64,4 +64,4 @@ class Exchange: mo = a2cre.search(line) if mo: addresses.add(mo.group('addr')) - return list(addresses) + return set(addresses) |
