diff options
| author | Aarni Koskela <akx@iki.fi> | 2025-03-05 18:45:10 +0200 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-03-31 22:43:13 -0300 |
| commit | c972af69e2021b75b89d8bc47e214ef875bbdc06 (patch) | |
| tree | 7a454faf8b3e4fadd1a92ac37b9d1df19a5e3fcb /scripts/manage_translations.py | |
| parent | 6888375c53476011754f778deabc6cdbfa327011 (diff) | |
Refs #28909 -- Simplified code using unpacking generalizations.
Diffstat (limited to 'scripts/manage_translations.py')
| -rw-r--r-- | scripts/manage_translations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py index bc569fbd0a..cea23f8275 100644 --- a/scripts/manage_translations.py +++ b/scripts/manage_translations.py @@ -235,13 +235,13 @@ def fetch(resources=None, languages=None): ] # Transifex pull if languages is None: - run(cmd + ["--all"]) + run([*cmd, "--all"]) target_langs = sorted( d for d in os.listdir(dir_) if not d.startswith("_") and d != "en" ) else: for lang in languages: - run(cmd + ["-l", lang]) + run([*cmd, "-l", lang]) target_langs = languages target_langs = [LANG_OVERRIDES.get(d, d) for d in target_langs] |
