summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_lists.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-11-19 20:29:44 -0500
committerBarry Warsaw2014-11-19 20:29:44 -0500
commit11af7021249c5827c4c2d72a90fb4dd2321395c0 (patch)
tree01ebe7405568728856294b942fc5a91fe9e3e6e2 /src/mailman/commands/cli_lists.py
parent0e9df01a559ee7c6bb0d4d307159ef29497e79c9 (diff)
downloadmailman-11af7021249c5827c4c2d72a90fb4dd2321395c0.tar.gz
mailman-11af7021249c5827c4c2d72a90fb4dd2321395c0.tar.zst
mailman-11af7021249c5827c4c2d72a90fb4dd2321395c0.zip
Diffstat (limited to 'src/mailman/commands/cli_lists.py')
-rw-r--r--src/mailman/commands/cli_lists.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/commands/cli_lists.py b/src/mailman/commands/cli_lists.py
index 79845ad57..cf1bd2ead 100644
--- a/src/mailman/commands/cli_lists.py
+++ b/src/mailman/commands/cli_lists.py
@@ -208,7 +208,7 @@ class Create:
except ListAlreadyExistsError:
self.parser.error(_('List already exists: $fqdn_listname'))
return
- except BadDomainSpecificationError, domain:
+ except BadDomainSpecificationError as domain:
self.parser.error(_('Undefined domain: $domain'))
return
# Find the language associated with the code, then set the mailing