[Zope] PyScript Ques
Aseem Mohanty
aseem@neurobehavioralsystems.com
Wed, 26 Jun 2002 06:04:59 -0700
How do I raise and Unauthorized error from within a PyScript?? Can I
even do so??
I tried the following :
import AccessControl
if blah....:
raise AccessControl.Unauthorized
Well I got an unauthorized all right :) , but it was for a cannot call
in this context error..
So how do I do it? If I cant is there a workaround??
TIA
AM
--
==================================================================
Aseem Mohanty
Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706
(R) 510 7696011 (M) 510 3014871 (O) 510 5279231
==================================================================
"I saw `cout' being shifted "Hello world" times to the left and
stopped right there!!" -- Steve Gonedes
==================================================================