[Zope-Checkins] CVS: Zope2 - BaseRequest.py:1.36.2.2
evan@serenade.digicool.com
evan@serenade.digicool.com
Fri, 11 May 2001 14:20:21 -0400
Update of /cvs-repository/Zope2/lib/python/ZPublisher
In directory serenade:/home/evan/Zope/2.3/lib/python/ZPublisher
Modified Files:
Tag: zope-2_3-branch
BaseRequest.py
Log Message:
Merge WebDAV fix from trunk
--- Updated File BaseRequest.py in package Zope2 --
--- BaseRequest.py 2001/03/08 18:54:15 1.36.2.1
+++ BaseRequest.py 2001/05/11 18:20:21 1.36.2.2
@@ -355,7 +355,8 @@
# heirarchy -- you'd always get the
# existing object :(
- if no_acquire_flag and hasattr(object, 'aq_base'):
+ if (no_acquire_flag and len(path) == 0 and
+ hasattr(object, 'aq_base')):
if hasattr(object.aq_base, entry_name):
subobject=getattr(object, entry_name)
else: raise AttributeError, entry_name