mirror of
https://github.com/etlegacy/LegacyTransifexBot.git
synced 2024-11-24 13:11:45 +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)
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue