diff options
| author | tkikuchi | 2006-01-27 12:40:50 +0000 |
|---|---|---|
| committer | tkikuchi | 2006-01-27 12:40:50 +0000 |
| commit | bae8d892b8f59f0704c1d40f5064c558f82fc875 (patch) | |
| tree | 31b10baadf0d35aa185932a4e3c3f68c72098b8a | |
| parent | c627cc8a2333d9247e48ab36d9c1f207916728c6 (diff) | |
| download | mailman-bae8d892b8f59f0704c1d40f5064c558f82fc875.tar.gz mailman-bae8d892b8f59f0704c1d40f5064c558f82fc875.tar.zst mailman-bae8d892b8f59f0704c1d40f5064c558f82fc875.zip | |
Now there are directories which have no 'CVS'.
| -rwxr-xr-x | admin/bin/templ2po.py | 3 |
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: |
