[Zope-Checkins] CVS: Zope2 - davcmds.py:1.11
Andreas Jung
andreas@dhcp165.digicool.com
Mon, 9 Apr 2001 15:38:24 -0400
Update of /cvs-repository/Zope2/lib/python/webdav
In directory yetix:/work/zope/Zope2/lib/python/webdav
Modified Files:
davcmds.py
Log Message:
additional check for broken objects
--- Updated File davcmds.py in package Zope2 --
--- davcmds.py 2001/03/08 16:20:12 1.10
+++ davcmds.py 2001/04/09 19:38:24 1.11
@@ -213,6 +213,9 @@
result.write('</d:response>\n')
if depth in ('1', 'infinity') and iscol:
for ob in obj.objectValues():
+ if hasattr(ob,"meta_type"):
+ if ob.meta_type=="Broken Because Product is Gone": continue
+
dflag=hasattr(ob, '_p_changed') and (ob._p_changed == None)
if hasattr(ob, '__locknull_resource__'):
# Do nothing, a null resource shouldn't show up to DAV