aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2016-02-22 20:06:27 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2016-02-22 20:06:27 +0900
commite7519290ad288df840bc86d8dcaea524407df964 (patch)
tree6fe1349a50bfb9045e75b638c8ce0374fafa6d0d /Mailman
parent6aaafb6c05840389f1dd9139da9694f3b43c57df (diff)
downloadmailman2-e7519290ad288df840bc86d8dcaea524407df964.tar.gz
mailman2-e7519290ad288df840bc86d8dcaea524407df964.tar.xz
mailman2-e7519290ad288df840bc86d8dcaea524407df964.zip
* add option to pick up C_() texts to make potfile
* revise command line utils _()/C_() usage (not tested at all)
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/MTA/Postfix.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/MTA/Postfix.py b/Mailman/MTA/Postfix.py
index b662d4ce..add5453e 100644
--- a/Mailman/MTA/Postfix.py
+++ b/Mailman/MTA/Postfix.py
@@ -406,9 +406,9 @@ def checkperms(state):
if stat and (stat[ST_MODE] & targetmode) <> targetmode:
state.ERRORS += 1
octmode = oct(stat[ST_MODE])
- print _('%(dbfile)s permissions must be 066x (got %(octmode)s)'),
+ print C_('%(dbfile)s permissions must be 066x (got %(octmode)s)'),
if state.FIX:
- print _('(fixing)')
+ print C_('(fixing)')
os.chmod(dbfile, stat[ST_MODE] | targetmode)
else:
print