aboutsummaryrefslogtreecommitdiffstats
path: root/bin/qrunner
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/qrunner
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/qrunner')
-rw-r--r--bin/qrunner12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/qrunner b/bin/qrunner
index 20fe830d..8d939488 100644
--- a/bin/qrunner
+++ b/bin/qrunner
@@ -1,6 +1,6 @@
#! @PYTHON@
-# Copyright (C) 2001-2006 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
@@ -78,7 +78,7 @@ import signal
import paths
from Mailman import mm_cfg
-from Mailman.i18n import _
+from Mailman.i18n import C_
from Mailman.Logging.Syslog import syslog
from Mailman.Logging.Utils import LogStdErr
@@ -95,7 +95,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)
@@ -175,8 +175,8 @@ def main():
name = runnername[:-len('Runner')]
else:
name = runnername
- print _('%(name)s runs the %(runnername)s qrunner')
- print _('All runs all the above qrunners')
+ print C_('%(name)s runs the %(runnername)s qrunner')
+ print C_('All runs all the above qrunners')
sys.exit(0)
elif opt in ('-o', '--once'):
once = 1
@@ -212,7 +212,7 @@ def main():
if len(args) <> 0:
usage(1)
if len(runners) == 0:
- usage(1, _('No runner name given.'))
+ usage(1, C_('No runner name given.'))
# Before we startup qrunners, we redirect the stderr to mailman syslog.
# We assume !AS_SUBPROC is running for debugging purpose and don't