5 Jul
2001
5 Jul
'01
5:56 p.m.
Etienne Labuschagne writes:
... In Python Script ... try: ..... except Exception, e: ..... This doesn't work as none of these exceptions are imported, also I cannot import them due to the import constraints of Python Scripts. Is there a workaround for this other than using external methods? There is a way to make modules/module names importable, though a bit tedious.
The mailing list archives are your friend. Search for "ModuleSecurityInfo". Alternatively: look at "AccessControl/SecurityInfo.py".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> Bah! Someone who does not read instructions...
Dieter