ignore en.po / someone should come up with a better regex

This commit is contained in:
Radegast 2015-01-14 17:01:34 +01:00
parent 6f9aeb6990
commit 007ec2b994

View file

@ -163,7 +163,7 @@ if __name__ == "__main__":
debug(txout) debug(txout)
# Add all .po files tx pull got to repo # 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)) debug(git["add"](*paths))
# Check if the repo changed # Check if the repo changed