mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Meta: Avoid doublequote strings nested in fstrings in ladybird.py
Double quote strings nested within double quoted-fstrings are invalid syntax prior to Python 3.12 and was causing an error when running ladybird.py
This commit is contained in:
parent
bd6750aaa5
commit
9dfce6d14c
Notes:
github-actions[bot]
2025-05-23 14:28:35 +00:00
Author: https://github.com/Calme1709
Commit: 9dfce6d14c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4852
Reviewed-by: https://github.com/trflynn89
1 changed files with 2 additions and 2 deletions
|
@ -394,7 +394,7 @@ def build_main(build_dir: Path, target: str | None = None, args: list[str] = [])
|
|||
try:
|
||||
subprocess.check_call(build_args)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print_process_stderr(e, f"Unable to build Ladybird {f"target {target}" if target else "project"}")
|
||||
print_process_stderr(e, f"Unable to build Ladybird {f'target {target}' if target else 'project'}")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
@ -414,7 +414,7 @@ def test_main(build_dir: Path, preset: str, pattern: str | None):
|
|||
try:
|
||||
subprocess.check_call(test_args)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print_process_stderr(e, f"Unable to test Ladybird {f"pattern {pattern}" if pattern else "project"}")
|
||||
print_process_stderr(e, f"Unable to test Ladybird {f'pattern {pattern}' if pattern else 'project'}")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue