From 6aaafb6c05840389f1dd9139da9694f3b43c57df Mon Sep 17 00:00:00 2001 From: Yasuhito FUTATSUKI at POEM Date: Mon, 22 Feb 2016 17:51:37 +0900 Subject: Importing locale patch for command line utils, from RHEL6 rpm source (for -japan-poem, originally imported from 2.1.12-18 package for RHEL6 rpm source) --- bin/convert.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/convert.py') diff --git a/bin/convert.py b/bin/convert.py index b0d6a053..ad7228b1 100644 --- a/bin/convert.py +++ b/bin/convert.py @@ -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('%', '%%')) -- cgit v1.2.3