aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fix_url.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/fix_url.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/fix_url.py b/bin/fix_url.py
index d2731c14..5a63e2c4 100644
--- a/bin/fix_url.py
+++ b/bin/fix_url.py
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2016 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -43,12 +43,12 @@ import getopt
import paths
from Mailman import mm_cfg
-from Mailman.i18n import _
+from Mailman.i18n import C_
def usage(code, msg=''):
- print _(__doc__.replace('%', '%%'))
+ print C_(__doc__.replace('%', '%%'))
if msg:
print msg
sys.exit(code)
@@ -72,7 +72,7 @@ def fix_url(mlist, *args):
# Make sure list is locked.
if not mlist.Locked():
if verbose:
- print _('Locking list')
+ print C_('Locking list')
mlist.Lock()
if urlhost:
web_page_url = mm_cfg.DEFAULT_URL_PATTERN % urlhost
@@ -82,12 +82,12 @@ def fix_url(mlist, *args):
mailhost = mm_cfg.DEFAULT_EMAIL_HOST
if verbose:
- print _('Setting web_page_url to: %(web_page_url)s')
+ print C_('Setting web_page_url to: %(web_page_url)s')
mlist.web_page_url = web_page_url
if verbose:
- print _('Setting host_name to: %(mailhost)s')
+ print C_('Setting host_name to: %(mailhost)s')
mlist.host_name = mailhost
- print _('Saving list')
+ print C_('Saving list')
mlist.Save()
mlist.Unlock()