From 0265ce0af70f56ba7a4ca8672f261abc1375df07 Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Fri, 14 Aug 2015 10:20:08 -0400 Subject: [PATCH] Clean i18n directories before validating --- pavelib/i18n.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pavelib/i18n.py b/pavelib/i18n.py index a6a67fcdeb..cacad8a405 100644 --- a/pavelib/i18n.py +++ b/pavelib/i18n.py @@ -196,6 +196,8 @@ def i18n_robot_pull(): """ # sh('paver test_i18n') # TODO tests were removed from repo, but there should still be tests that cover the translations... # Validate the recently pulled translations, and give a bail option + sh('git clean -fdX conf/locale/rtl') + sh('git clean -fdX conf/locale/eo') cmd = "i18n_tool validate" print("\n\nValidating translations with `i18n_tool validate`...") sh("{cmd}".format(cmd=cmd))