aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fix_url.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fix_url.py')
-rw-r--r--bin/fix_url.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/fix_url.py b/bin/fix_url.py
index d2731c14..6523ce29 100644
--- a/bin/fix_url.py
+++ b/bin/fix_url.py
@@ -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)
@@ -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()