damned-lies r1319 - in trunk: . stats
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1319 - in trunk: . stats
- Date: Wed, 7 Jan 2009 21:21:37 +0000 (UTC)
Author: claudep
Date: Wed Jan 7 21:21:37 2009
New Revision: 1319
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1319&view=rev
Log:
2009-01-07 Claude Paroz <claude 2xlibre net>
* stats/utils.py: msgfmt outputs stats on stderr.
Fixes bug #566934.
Modified:
trunk/ChangeLog
trunk/stats/utils.py
Modified: trunk/stats/utils.py
==============================================================================
--- trunk/stats/utils.py (original)
+++ trunk/stats/utils.py Wed Jan 7 21:21:37 2009
@@ -202,10 +202,11 @@
if msgfmt_checks and input_file != "-" and os.access(pofile, os.X_OK):
res['errors'].append(("warn", ugettext_noop("This PO file has an executable bit set.")))
-
- r_tr = re.search(r"([0-9]+) translated", output)
- r_un = re.search(r"([0-9]+) untranslated", output)
- r_fz = re.search(r"([0-9]+) fuzzy", output)
+
+ # msgfmt output stats on stderr
+ r_tr = re.search(r"([0-9]+) translated", errs)
+ r_un = re.search(r"([0-9]+) untranslated", errs)
+ r_fz = re.search(r"([0-9]+) fuzzy", errs)
if r_tr:
res['translated'] = r_tr.group(1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]