4 Nov
2002
4 Nov
'02
8:55 a.m.
On Monday 04 November 2002 8:42 am, beno wrote:
try: mailhost=getattr(context, context.mailScript('MailHost')[0].id) except: raise AttributeError, "cant find a Mail Host object"
I changed the name of the script to mailScript() from superValues(). I didn't pass any parameters. The original script had *Mail Host* as opposed to *MailHost* but I tried both. What am I missing?
That bald except may be catching an error different to the one you are expecting.