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

Fixed #30058 -- Made SMTP EmailBackend.send_messages() return 0 for empty/error cases. #10784

Merged
merged 1 commit into from
Dec 27, 2018

Conversation

stebunovd
Copy link
Contributor

@stebunovd stebunovd commented Dec 23, 2018

https://code.djangoproject.com/ticket/30058

This PR ensures that SMTP EmailBackend.send_messages() always returns an integer

@stebunovd
Copy link
Contributor Author

how could I restart the failed check?

@stebunovd
Copy link
Contributor Author

stebunovd commented Dec 23, 2018

ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?

the restart didn't help :( well, it seems to be broken not by me

@felixxm
Copy link
Member

felixxm commented Dec 23, 2018

@stebunovd Build on windows sometimes has issues after force-push. I restarted this build and it looks good.

Please add a trac ticket for this change.

@stebunovd
Copy link
Contributor Author

thanks! The ticket: https://code.djangoproject.com/ticket/30058

@charettes charettes changed the title consistent return values for SMTP EmailBackend.send_messages() Fixed #30058 -- Made SMTP EmailBackend.send_messages() always return an integer. Dec 23, 2018
@charettes
Copy link
Member

Hey @stebunovd, thanks for the PR! Please uncheck patch needs improvement on the Trac ticket once you've added a test for the not emails branch. That'll move the ticket to the final review queue.

@stebunovd
Copy link
Contributor Author

hey @charettes, I have added the test and unchecked patch needs improvement box. Thanks!

@timgraham timgraham changed the title Fixed #30058 -- Made SMTP EmailBackend.send_messages() always return an integer. Fixed #30058 -- Made SMTP EmailBackend.send_messages() return 0 for empty/error cases. Dec 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants