Update OutgoingEmailDispatcher execute calls -> self._execute
authorW. Trevor King <wking@drexel.edu>
Fri, 26 Mar 2010 08:53:04 +0000 (04:53 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 26 Mar 2010 08:53:04 +0000 (04:53 -0400)
pyrisk/player/email.py

index f4b3ce4..630c83a 100644 (file)
@@ -122,7 +122,7 @@ class OutgoingEmailDispatcher (object):
         msg['Message-id'] = make_msgid()
 
         if self.sendmail != None:
-            execute(self.sendmail, stdin=self._flatten(msg))
+            self._execute(self.sendmail, stdin=self._flatten(msg))
             return None
         s = smtplib.SMTP_SSL(self.smtp_host, self.smtp_port)
         s.connect()