Roundup Tracker - Issues

Message5950

Author goobliata
Recipients goobliata
Date 2017-04-01.20:45:07
Message-id <1491079509.37.0.395021452115.issue2550937@psf.upfronthosting.co.za>
In-reply-to
I attempted to make sure I receive email for all messages and ran into a
crash. In detectors/nosyreaction.py I added my email to the nosymessage
call. When nobody is subscribed to the issue (unassigned, nobody nosy)
roundup crashes when you do this. The fix is simple and a patch is attached.

The current code crashes because smtp_send is called with an empty list
(sendto) which throws an exception when smtplib.sendmail is called
eventually. The patch just prevents smtp_send from being called if
sendto is empty.
History
Date User Action Args
2017-04-01 20:45:09goobliatasetrecipients: + goobliata
2017-04-01 20:45:09goobliatasetmessageid: <1491079509.37.0.395021452115.issue2550937@psf.upfronthosting.co.za>
2017-04-01 20:45:09goobliatalinkissue2550937 messages
2017-04-01 20:45:08goobliatacreate