commit/galaxy-central: natefoo: Actually send error reports to the creator instead of lying and saying that we did.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/ba739e96c1a1/ changeset: ba739e96c1a1 user: natefoo date: 2011-11-07 21:27:43 summary: Actually send error reports to the creator instead of lying and saying that we did. affected #: 1 file diff -r 0cdd7bb67d95efd4a5cfc9219a36f4f6232a243a -r ba739e96c1a14d649c37655cecfc5b835ab343d2 lib/galaxy/util/__init__.py --- a/lib/galaxy/util/__init__.py +++ b/lib/galaxy/util/__init__.py @@ -574,11 +574,9 @@ """ Sends an email. """ - header_to = to - if isinstance( to, list ): - header_to = ', '.join( to ) + to = listify( to ) msg = MIMEText( body ) - msg[ 'To' ] = header_to + msg[ 'To' ] = ', '.join( to ) msg[ 'From' ] = frm msg[ 'Subject' ] = subject if config.smtp_server is None: @@ -613,8 +611,6 @@ log.error( "No suitable authentication method was found: %s" % e ) s.close() raise - if isinstance( to, basestring ): - to = [ to ] s.sendmail( frm, to, msg.as_string() ) s.quit() Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket