[Bf-translations-svn] SVN commit: /data/svn/bf-translations [414] trunk/po/tools: More small fixes to tools.
bf-translations at blender.org
bf-translations at blender.org
Mon Feb 27 20:12:24 CET 2012
Revision: 414
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-translations&revision=414
Author: mont29
Date: 2012-02-27 19:12:23 +0000 (Mon, 27 Feb 2012)
Log Message:
-----------
More small fixes to tools.
Modified Paths:
--------------
trunk/po/tools/update_mo.py
trunk/po/tools/update_trunk.py
Modified: trunk/po/tools/update_mo.py
===================================================================
--- trunk/po/tools/update_mo.py 2012-02-27 19:02:24 UTC (rev 413)
+++ trunk/po/tools/update_mo.py 2012-02-27 19:12:23 UTC (rev 414)
@@ -79,7 +79,6 @@
else:
for po in os.listdir(TRUNK_PO_DIR):
if po.endswith(".po") and not po.endswith("_raw.po"):
- print(po)
lang = os.path.basename(po)[:-3]
po = os.path.join(TRUNK_PO_DIR, po)
t = process_po(po, lang)
Modified: trunk/po/tools/update_trunk.py
===================================================================
--- trunk/po/tools/update_trunk.py 2012-02-27 19:02:24 UTC (rev 413)
+++ trunk/po/tools/update_trunk.py 2012-02-27 19:12:23 UTC (rev 414)
@@ -96,7 +96,7 @@
# XXX There should not be any failing at this stage, import step is
# supposed to have already filtered them out!
for po in os.listdir(TRUNK_PO_DIR):
- if po.endswith(".po"):
+ if po.endswith(".po") and not po.endswith("_raw.po"):
lang = os.path.basename(po)[:-3]
if args.langs and lang not in args.langs:
continue
More information about the Bf-translations-svn
mailing list