diff options
| author | Barry Warsaw | 2011-06-11 15:00:44 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2011-06-11 15:00:44 -0400 |
| commit | 17d6e3e60f099c3728e8b7861069d0423c5f171e (patch) | |
| tree | 4a3057841abb78aabf1a3b55b35862ee333a1254 /src/mailman/commands/cli_lists.py | |
| parent | 2021d1cac5483cfe5bb356ce45914a820c64e0a2 (diff) | |
| download | mailman-17d6e3e60f099c3728e8b7861069d0423c5f171e.tar.gz mailman-17d6e3e60f099c3728e8b7861069d0423c5f171e.tar.zst mailman-17d6e3e60f099c3728e8b7861069d0423c5f171e.zip | |
Diffstat (limited to 'src/mailman/commands/cli_lists.py')
| -rw-r--r-- | src/mailman/commands/cli_lists.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/commands/cli_lists.py b/src/mailman/commands/cli_lists.py index 0b5973591..8acf0c272 100644 --- a/src/mailman/commands/cli_lists.py +++ b/src/mailman/commands/cli_lists.py @@ -196,8 +196,8 @@ class Create: # owners. I suppose we could subclass that exception though. if args.owners: validator = getUtility(IEmailValidator) - invalid_owners = (owner for owner in args.owners - if not validator.is_valid(owner)) + invalid_owners = [owner for owner in args.owners + if not validator.is_valid(owner)] if invalid_owners: invalid = COMMASPACE.join(sorted(invalid_owners)) self.parser.error(_('Illegal owner addresses: $invalid')) |
