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 broken subject default in crashmailbatch #109

Merged
merged 2 commits into from Dec 23, 2021

Conversation

joeportela
Copy link
Contributor

Kwargs passed to init from create_from_cmd_line already has 'subject', which is optparse defaulted to None. Python dict's get method only returns the default arg if the value doesn't exist, not if it exists as None. This results in default email subjects to actually be None instead of the documented string.

@mnaberez mnaberez merged commit 3d7e529 into Supervisor:master Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants