Skip to content

Fix is_patch_for for patch dicts #4865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Flamefire
Copy link
Contributor

The function only handled strings and lists but not the dict patch
format.
This caused a hard error because p % templates doesn't work when p
is a dict --> TypeError.

Factor out function to extract name of patchspec and use it.
This avoids the 2 places where the bug was and simplifies the function.

The function only handled strings and lists but not the dict patch
format.
This caused a hard error because `p % templates` doesn't work when `p`
is a dict --> `TypeError`.

Factor out function to extract name of patchspec and use it.
This avoids the 2 places where the bug was and simplifies the function.
Checking the regular log there is no indication when an easyconfig was
skipped and hence wasn't found for the patch and using `--debug` just
for that produces so much output that it is very hard to find this
single entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant