diff options
| author | bwarsaw | 2006-07-08 17:58:13 +0000 |
|---|---|---|
| committer | bwarsaw | 2006-07-08 17:58:13 +0000 |
| commit | f321ff8f419284c32f7eea4e06c83212bccef6b0 (patch) | |
| tree | 7e1d1e1a1b8b81a48d86afb5c47eb039529993ac /Mailman/bin/rmlist.py | |
| parent | 7a94dcd001240e0c06cc4b50017b8bfd097d9ff4 (diff) | |
| download | mailman-f321ff8f419284c32f7eea4e06c83212bccef6b0.tar.gz mailman-f321ff8f419284c32f7eea4e06c83212bccef6b0.tar.zst mailman-f321ff8f419284c32f7eea4e06c83212bccef6b0.zip | |
Diffstat (limited to 'Mailman/bin/rmlist.py')
| -rw-r--r-- | Mailman/bin/rmlist.py | 5 |
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.') |
