Skip to content

Conversation

@ralmachado
Copy link

@ralmachado ralmachado commented Oct 23, 2024

When fetching app secrets, the removal of empty strings is unguarded, resulting in a ValueError when the empty string is not in the fetched list of secrets.

The while ensures that if for some reason the secrets list has multiple empty strings, they get removed.
This pull request fixes #752.

@ralmachado
Copy link
Author

@nathom You can close this as #779 was approved for merge. I'd just point out that my solution of using a while-loop can remove multiple empty strings rather than a single one, if that should ever happen.

@nathom nathom closed this Dec 14, 2024
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.

[BUG] ValueError: list.remove(x): x not in list

2 participants