summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkikuchi2006-01-27 12:40:50 +0000
committertkikuchi2006-01-27 12:40:50 +0000
commitbae8d892b8f59f0704c1d40f5064c558f82fc875 (patch)
tree31b10baadf0d35aa185932a4e3c3f68c72098b8a
parentc627cc8a2333d9247e48ab36d9c1f207916728c6 (diff)
downloadmailman-bae8d892b8f59f0704c1d40f5064c558f82fc875.tar.gz
mailman-bae8d892b8f59f0704c1d40f5064c558f82fc875.tar.zst
mailman-bae8d892b8f59f0704c1d40f5064c558f82fc875.zip
Now there are directories which have no 'CVS'.
-rwxr-xr-xadmin/bin/templ2po.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/bin/templ2po.py b/admin/bin/templ2po.py
index 5f5c9d38f..3b0593fd2 100755
--- a/admin/bin/templ2po.py
+++ b/admin/bin/templ2po.py
@@ -112,7 +112,8 @@ def main():
for lang in args:
filenames = os.listdir('templates/%s' % lang)
- filenames.remove('CVS')
+ if 'CVS' in filenames:
+ filenames.remove('CVS')
outfile = file('messages/%s/LC_MESSAGES/mailman.po' % lang, 'a')
for filename in filenames:
try: