Skip to content

Commit 324e22c

Browse files
author
Maciej Olko
committed
Force download of translations files
Brute-force the concurrency when someone edits a resource just after it was fetched in GitHub action and before it was commited.
1 parent 3d1e1ba commit 324e22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manage_translation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def fetch():
3030
sys.stderr.write("The Transifex client app is required (pip install transifex-client).\n")
3131
exit(1)
3232
lang = LANGUAGE
33-
pull_returncode = call(f'tx pull -l {lang} --minimum-perc=1 --use-git-timestamps', shell=True)
33+
pull_returncode = call(f'tx pull -l {lang} --minimum-perc=1 --force', shell=True)
3434
if pull_returncode != 0:
3535
exit(pull_returncode)
3636
for root, _, po_files in os.walk('.'):

0 commit comments

Comments
 (0)