8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d6d19d commit d160183Copy full SHA for d160183
scripts/manage_translations.py
@@ -154,7 +154,7 @@ def main() -> None:
154
if args.command == "build":
155
language = get_value(args.language, "--language", "PYDOC_LANGUAGE")
156
version = get_value(args.python_version, "--python-version", "PYDOC_VERSION")
157
- po_dir = args.po_dir.absolute() or cpython_path / f"Doc/locales/{language}/LC_MESSAGES"
+ po_dir = args.po_dir.absolute() if args.po_dir else cpython_path / f"Doc/locales/{language}/LC_MESSAGES"
158
159
if args.command in ["build", "generate_templates"]:
160
if not shutil.which("make"):
0 commit comments