core: move args.log to context.log (MR 2252)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-05-24 18:19:07 +02:00 committed by Oliver Smith
parent 838beb270d
commit 02f04ba3a8
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
6 changed files with 28 additions and 15 deletions

View file

@ -92,7 +92,7 @@ def replace_placeholders(args: PmbArgs):
setattr(args, key, old.replace("$WORK", str(pmb.config.work)))
# Replace ~ (path variables only)
for key in ["aports", "config", "log", "work"]:
for key in ["aports", "config", "work"]:
if key in args:
setattr(args, key, Path(getattr(args, key)).expanduser())