[Zope-Checkins] CVS: Zope2 - ZopeGuards.py:1.3
shane@digicool.com
shane@digicool.com
Mon, 18 Jun 2001 12:38:08 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/AccessControl
In directory korak.digicool.com:/tmp/cvs-serv20655
Modified Files:
ZopeGuards.py
Log Message:
Raise the correct exception
--- Updated File ZopeGuards.py in package Zope2 --
--- ZopeGuards.py 2001/04/27 20:27:37 1.2
+++ ZopeGuards.py 2001/06/18 16:38:07 1.3
@@ -1,4 +1,4 @@
-##############################################################################
+#############################################################################
#
# Zope Public License (ZPL) Version 1.0
# -------------------------------------
@@ -109,7 +109,7 @@
except AttributeError:
if default is not _marker:
return default
- raise AttributeError
+ raise
validate = getSecurityManager().validate
# Filter out the objects we can't access.
if hasattr(inst, 'aq_acquire'):