From 007ec2b994e477b9a03c5448229ec7609bd64665 Mon Sep 17 00:00:00 2001 From: Radegast Date: Wed, 14 Jan 2015 17:01:34 +0100 Subject: [PATCH] ignore en.po / someone should come up with a better regex --- prfromtransifex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prfromtransifex.py b/prfromtransifex.py index 4d0424c..f3bef0a 100755 --- a/prfromtransifex.py +++ b/prfromtransifex.py @@ -163,7 +163,7 @@ if __name__ == "__main__": debug(txout) # Add all .po files tx pull got to repo - paths, files = zip(*re.findall(r"^\s->\s[\w_]+:\s([\w/\_]+/([\w_]+\.ts))$", txout, flags=re.MULTILINE)) + paths, files = zip(*re.findall(r"^(?!en\.po)\s->\s[\w]+:\srepositories/transifex-etlegacy/([\w/]+/([\w]+\.po))$", txout, flags=re.MULTILINE)) debug(git["add"](*paths)) # Check if the repo changed