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/unshunt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/unshunt') diff --git a/bin/unshunt b/bin/unshunt index 842cc0fb..e17ecae7 100644 --- a/bin/unshunt +++ b/bin/unshunt @@ -38,7 +38,7 @@ import getopt import paths from Mailman import mm_cfg from Mailman.Queue.sbcache import get_switchboard -from Mailman.i18n import _ +from Mailman.i18n import C_ @@ -47,7 +47,7 @@ def usage(code, msg=''): fd = sys.stderr else: fd = sys.stdout - print >> fd, _(__doc__) + print >> fd, C_(__doc__) if msg: print >> fd, msg sys.exit(code) @@ -82,7 +82,7 @@ def main(): except Exception, e: # If there are any unshunting errors, log them and continue trying # other shunted messages. - print >> sys.stderr, _( + print >> sys.stderr, C_( 'Cannot unshunt message %(filebase)s, skipping:\n%(e)s') else: # Unlink the .bak file left by dequeue() -- cgit v1.2.3