Skip to content
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

Fix extra_flag crash #1042

Merged
merged 3 commits into from Jul 18, 2022
Merged

Conversation

bockstaller
Copy link
Contributor

Issue(s) Resolved

Fixes #1041

Description of Changes

LektorContext.builder(...) is now using a keyword argument for extra_flags to match the signature of Builder.__init__(...) and prevent passing them as the buildstate_path.
I've added a fixture to generate apps with and without flags. This adds more testcases than necessary but is the easiest solution regarding my knowledge of the codebase.

bockstaller and others added 3 commits July 4, 2022 20:13
Parametrizes the app fixture to supply apps with and without extra-flags. Not the smallest possible testcase but it does the trick for now
@dairiki dairiki merged commit 093ac5e into lektor:master Jul 18, 2022
@dairiki
Copy link
Contributor

dairiki commented Jul 18, 2022

@bockstaller Thank you for the diagnosis and the fix!

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.

Development setup errors when used with --extra-flag
2 participants