11 February
2004

エラーのとり方

メモメモ

http://fzug.com/kiyo/blog/3

なるほどなー、などと思う。

try:
    mailhost=getattr(context, \
                     context.superValues('Mail Host')[0].id)
    context.errdoc.manage_edit(" OK ","") #追加
except:
    raise AttributeError, "Mail Host object cant be found."
    context.errdoc.manage_edit(" Err ","")  #追加

 

 


Posted by shinobu at 11:11 | Comments (2) | Trackbacks (0)
<< ヒヤシンス | Main | MailHostでSubjectが送信されない >>
Comments
aFCpjoRjKIZHzu

7IcpeL https://xnxxx.web.fc2.com/ xnxx

Posted by: Merziuziy at June 29,2021 17:43
JuicccVLjMMoE

https://beeg.x.fc2.com/sitemap1.html
https://beeg.x.fc2.com/sitemap2.html
https://xnxxx.web.fc2.com/sitemap1.html
https://xnxxx.web.fc2.com/sitemap2.html
https://xvideoss.web.fc2.com/sitemap1.html
https://xvideoss.web.fc2.com/sitemap2.html

Posted by: johnanz at August 03,2021 23:49
Trackbacks
Please send trackback to:http://nakaj.net/Nikki/89/tbping
There is no trackback.
Post a comment