[Zope] Importing Unauthorized?
    Brian R Brinegar 
    brinegar at purdue.edu
       
    Fri Nov 11 14:01:02 UTC 2011
    
    
  
We're in the process of migrating from Zope 2.11 to Zope 2.13, we have scripts which raise string exceptions, which is no longer allowed by the version of python.
In particular, we have scripts which:
  raise "Unauthorized"
However, we don't seem to be able to import the Unauthorized exception from AccessControl or zExceptions. What is the new way to raise an Unauthorized exception from within a Zope Python Script?
Thanks,
Brian Brinegar
Web Services Coordinator
Engineering Computer Network
    
    
More information about the Zope
mailing list