mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
pmb.helpers.lint: fix keyerror (MR 2397)
repo is a Path obj now, and its name is used as a key in the dest_paths dict. Fixes this failure: working_dir=dest_paths[repo], ~~~~~~~~~~^^^^^^ KeyError: PosixPath('/home/clayton/src/pmaports')
This commit is contained in:
parent
36c86cd971
commit
9131b910c7
1 changed files with 1 additions and 1 deletions
|
@ -63,6 +63,6 @@ def check(pkgnames: Sequence[str]):
|
|||
check=False,
|
||||
output="stdout",
|
||||
output_return=True,
|
||||
working_dir=dest_paths[repo],
|
||||
working_dir=dest_paths[repo.name],
|
||||
env={"CUSTOM_VALID_OPTIONS": " ".join(options)},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue