Clemens Robbenhaar wrote:
If one tries to import the code from a python script, the security
machinery first check, if the module has some security info, and imports
it afterwards, if the info is found. But as the module is not imported
anyway, it is not initialized, and has not such info and thu
At Thu, 21 Nov 2002 12:16:09 +, Chris Withers wrote:
> I'm trying to get stripogram working from Script(Pythons). I thought I had it,
> but it appears I don't.
>
> I added the following in the __init__.py of the stripogram package:
>
> try:
> from AccessControl import ModuleSec
Hi,
I'm trying to get stripogram working from Script(Pythons). I thought I had it,
but it appears I don't.
I added the following in the __init__.py of the stripogram package:
try:
from AccessControl import ModuleSecurityInfo,allow_module
except ImportError:
# no Zope around
raise
el