thirdparty/google_appengine/google/appengine/api/mail.py
changeset 297 35211afcd563
parent 149 f2e327a7c5de
child 2273 e4cb9c53db3e
equal deleted inserted replaced
296:b02dd2a5f329 297:35211afcd563
   472 
   472 
   473     try:
   473     try:
   474       make_sync_call('mail', self._API_CALL, message, response)
   474       make_sync_call('mail', self._API_CALL, message, response)
   475     except apiproxy_errors.ApplicationError, e:
   475     except apiproxy_errors.ApplicationError, e:
   476       if e.application_error in ERROR_MAP:
   476       if e.application_error in ERROR_MAP:
   477         raise ERROR_MAP[e.application_error]()
   477         raise ERROR_MAP[e.application_error](e.error_detail)
   478       raise e
   478       raise e
   479 
   479 
   480   def Send(self, *args, **kwds):
   480   def Send(self, *args, **kwds):
   481     self.send(*args, **kwds)
   481     self.send(*args, **kwds)
   482 
   482