Skip to content

Conversation

rillian
Copy link
Contributor

@rillian rillian commented Jun 27, 2024

The python config script function interactive_prompt_input recursed on error, requiring a balanced number of 0 entries to exit cleanly. This is unnecessary, since the prompt body itself already loops and can just fall through to the next iteration to re-prompt after an error.

This removes the recursive call so entering zero to finish scheme selection exits promptly.

Also removes trailing whitespace from python source files.

rillian added 2 commits June 27, 2024 12:54
The python config script `interactive_prompt_input` functions
recursed on error, requiring a balanced number of `0` entries
to exit cleanly. This is unnecessary, since the prompt body
itself already loops and can just fall through to the next
iteration to reprompt after an error.

Remove the recursive call so entering zero to finish scheme
selection exits promptly.
Some code editors flag this, or automatically correct it. Addressing
this in a single commit reduces confusion for readers and noise
in making other changes.
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