aboutsummaryrefslogtreecommitdiffstats
path: root/bin/convert.py
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2016-03-02 18:57:16 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2016-03-02 18:57:16 +0900
commit3d3ed445c841f40e793e733956ab65287ca5cfe1 (patch)
treef54b733b0a6a3353cb595d6c4664689ea5bf8a3f /bin/convert.py
parent7bee928877b9771072c32c47912b346b41ce3c35 (diff)
parent8f22ba21a32701d2efaac0b8b1a1c0a4522912b0 (diff)
downloadmailman2-3d3ed445c841f40e793e733956ab65287ca5cfe1.tar.gz
mailman2-3d3ed445c841f40e793e733956ab65287ca5cfe1.tar.xz
mailman2-3d3ed445c841f40e793e733956ab65287ca5cfe1.zip
Update to lp:mailman/2.1 rev 1629 (no difference against the original branch
Diffstat (limited to 'bin/convert.py')
-rw-r--r--bin/convert.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/convert.py b/bin/convert.py
index b0d6a053..94ae046c 100644
--- a/bin/convert.py
+++ b/bin/convert.py
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 2002 by the Free Software Foundation, Inc.
+# Copyright (C) 2002-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
@@ -25,7 +25,7 @@ This script is intended to be run as a bin/withlist script, i.e.
import paths
from Mailman import Utils
-from Mailman.i18n import _
+from Mailman.i18n import C_
def convert(mlist):
for attr in ('msg_header', 'msg_footer', 'digest_header', 'digest_footer',
@@ -35,10 +35,10 @@ def convert(mlist):
t = Utils.to_dollar(s)
setattr(mlist, attr, t)
mlist.use_dollar_strings = 1
- print _('Saving list')
+ print C_('Saving list')
mlist.Save()
if __name__ == '__main__':
- print _(__doc__.replace('%', '%%'))
+ print C_(__doc__.replace('%', '%%'))