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 f4b3ce43b0d2c400d7056b5d7d0290e7faa95da1..630c83a817d07dfceef553d4e01b5acb0c327b03 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()