[Zope-Checkins] CVS: Zope2 - davcmds.py:1.10.2.1

Andreas Jung andreas@dhcp165.digicool.com
Tue, 3 Apr 2001 17:23:38 -0400


Update of /cvs-repository/Zope2/lib/python/webdav
In directory yetix:/work/zope/Zope2_FTP/lib/python/webdav

Modified Files:
      Tag: ajung_Zope2_FTP_globbing_patch
	davcmds.py 
Log Message:
added filter for broken objects



--- Updated File davcmds.py in package Zope2 --
--- davcmds.py	2001/03/08 16:20:12	1.10
+++ davcmds.py	2001/04/03 21:23:31	1.10.2.1
@@ -213,6 +213,7 @@
         result.write('</d:response>\n')        
         if depth in ('1', 'infinity') and iscol:
             for ob in obj.objectValues():
+                if ob.id=='broken': 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