[tor-commits] [doctor/master] Correcting issue that caused script errors to still go to the list

atagar at torproject.org atagar at torproject.org
Sat Sep 14 17:35:11 UTC 2013


commit f1d14d4cb67fe592bf2820f4f584eb8ee5656dde
Author: Damian Johnson <atagar at torproject.org>
Date:   Sat Sep 14 10:39:29 2013 -0700

    Correcting issue that caused script errors to still go to the list
    
    Oops! Looks like there was a second spot where TO_ADDRESS was referenced.
    Fixing it so further script errors go to me rather than the list.
---
 util.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.py b/util.py
index a1837b7..4874327 100644
--- a/util.py
+++ b/util.py
@@ -112,7 +112,7 @@ def send(subject, body_text = None, body_html = None, attachment = None, destina
   server = smtplib.SMTP('smtp.gmail.com:587')
   server.starttls()
   server.login(FROM_ADDRESS, _get_password())
-  server.sendmail(FROM_ADDRESS, [TO_ADDRESS], msg.as_string())
+  server.sendmail(FROM_ADDRESS, [destination], msg.as_string())
   server.quit()
 
 



More information about the tor-commits mailing list