summaryrefslogtreecommitdiff
path: root/Mailman/bin/rmlist.py
diff options
context:
space:
mode:
authorbwarsaw2006-07-08 17:58:13 +0000
committerbwarsaw2006-07-08 17:58:13 +0000
commitf321ff8f419284c32f7eea4e06c83212bccef6b0 (patch)
tree7e1d1e1a1b8b81a48d86afb5c47eb039529993ac /Mailman/bin/rmlist.py
parent7a94dcd001240e0c06cc4b50017b8bfd097d9ff4 (diff)
downloadmailman-f321ff8f419284c32f7eea4e06c83212bccef6b0.tar.gz
mailman-f321ff8f419284c32f7eea4e06c83212bccef6b0.tar.zst
mailman-f321ff8f419284c32f7eea4e06c83212bccef6b0.zip
Diffstat (limited to 'Mailman/bin/rmlist.py')
-rw-r--r--Mailman/bin/rmlist.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mailman/bin/rmlist.py b/Mailman/bin/rmlist.py
index 9655327f0..861e79226 100644
--- a/Mailman/bin/rmlist.py
+++ b/Mailman/bin/rmlist.py
@@ -78,6 +78,9 @@ def main():
config.load(opts.config)
listname = args[0].lower().strip()
+ if '@' not in listname:
+ listname = '%s@%s' % (listname, config.DEFAULT_EMAIL_HOST)
+
if not Utils.list_exists(listname):
if not opts.archives:
print >> sys.stderr, _(
@@ -85,7 +88,7 @@ def main():
sys.exit(1)
else:
print _(
- 'No such list: $listname. Removing its residual archives.')
+ 'No such list: ${listname}. Removing its residual archives.')
if not opts.archives:
print _('Not removing archives. Reinvoke with -a to remove them.')