mirror of
https://github.com/etlegacy/LegacyTransifexBot.git
synced 2024-11-21 20:01:36 +00:00
ignore en.po / someone should come up with a better regex
This commit is contained in:
parent
6f9aeb6990
commit
007ec2b994
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue