aboutsummaryrefslogtreecommitdiffstats
path: root/bin/check_db
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/check_db
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 '')
-rwxr-xr-xbin/check_db14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/check_db b/bin/check_db
index b1157bc7..702d4bc1 100755
--- a/bin/check_db
+++ b/bin/check_db
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-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
@@ -59,7 +59,7 @@ import paths
from Mailman import mm_cfg
from Mailman import Utils
from Mailman.MailList import MailList
-from Mailman.i18n import _
+from Mailman.i18n import C_
PROGRAM = sys.argv[0]
@@ -70,7 +70,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)
@@ -111,12 +111,12 @@ def main():
listnames = [n.lower().strip() for n in listnames]
if not listnames:
- print _('Nothing to do.')
+ print C_('Nothing to do.')
sys.exit(0)
for listname in listnames:
if not Utils.list_exists(listname):
- print _('No list named:'), listname
+ print C_('No list named:'), listname
continue
mlist = MailList(listname, lock=0)
pfile = os.path.join(mlist.fullpath(), 'config.pck')
@@ -125,7 +125,7 @@ def main():
dlast = dfile + '.last'
if verbose:
- print _('List:'), listname
+ print C_('List:'), listname
for file in (pfile, plast, dfile, dlast):
status = 0
@@ -145,7 +145,7 @@ def main():
else:
print ' %s: %s' % (file, status)
elif verbose:
- print _(' %(file)s: okay')
+ print C_(' %(file)s: okay')