summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-11-24 20:43:11 -0500
committerBarry Warsaw2009-11-24 20:43:11 -0500
commit79d9e36a0b824548a0f2bc83cb948fc5ce668151 (patch)
treebad1f9da24b61e7afda4017066c4f39177cce29d /setup.py
parent755dc1f981b56e4c2663b5596c95590c948ef4ad (diff)
downloadmailman-79d9e36a0b824548a0f2bc83cb948fc5ce668151.tar.gz
mailman-79d9e36a0b824548a0f2bc83cb948fc5ce668151.tar.zst
mailman-79d9e36a0b824548a0f2bc83cb948fc5ce668151.zip
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/setup.py b/setup.py
index 9e4f87e97..fd7565fd3 100644
--- a/setup.py
+++ b/setup.py
@@ -49,18 +49,18 @@ with open('src/mailman/version.py') as fp:
# Create the .mo files from the .po files. There may be errors and warnings
# here and that could cause the digester.txt test to fail.
-start_dir = os.path.dirname('src/mailman/messages')
-for dirpath, dirnames, filenames in os.walk(start_dir):
- for filename in filenames:
- po_file = os.path.join(dirpath, filename)
- basename, ext = os.path.splitext(po_file)
- if ext <> '.po':
- continue
- mo_file = basename + '.mo'
- if (not os.path.exists(mo_file) or
- os.path.getmtime(po_file) > os.path.getmtime(mo_file)):
- # The mo file doesn't exist or is older than the po file.
- os.system('msgfmt -o %s %s' % (mo_file, po_file))
+## start_dir = os.path.dirname('src/mailman/messages')
+## for dirpath, dirnames, filenames in os.walk(start_dir):
+## for filename in filenames:
+## po_file = os.path.join(dirpath, filename)
+## basename, ext = os.path.splitext(po_file)
+## if ext <> '.po':
+## continue
+## mo_file = basename + '.mo'
+## if (not os.path.exists(mo_file) or
+## os.path.getmtime(po_file) > os.path.getmtime(mo_file)):
+## # The mo file doesn't exist or is older than the po file.
+## os.system('msgfmt -o %s %s' % (mo_file, po_file))