aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update
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 /bin/update
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 'bin/update')
-rwxr-xr-xbin/update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/update b/bin/update
index 0ac5ffe8..b5843424 100755
--- a/bin/update
+++ b/bin/update
@@ -452,7 +452,7 @@ def update_qfiles():
except EnvironmentError, e:
if e.errno <> errno.ENOTDIR:
raise
- print _('Warning! Not a directory: %(dirpath)s')
+ print C_('Warning! Not a directory: %(dirpath)s')
@@ -541,7 +541,7 @@ def dequeue(filebase):
msg = data = None
except EOFError:
# For some reason the pckfile was empty. Just delete it.
- print _('Warning! Deleting empty .pck file: %(pckfile)s')
+ print C_('Warning! Deleting empty .pck file: %(pckfile)s')
os.unlink(pckfile)
finally:
if msgfp: