[Zope-Checkins] CVS: Zope2 - davcmds.py:1.10.2.4
Andreas Jung
andreas@dhcp165.digicool.com
Mon, 9 Apr 2001 13:39:33 -0400
Update of /cvs-repository/Zope2/lib/python/webdav
In directory yetix:/work/zope/Zope2_FTP/Zope2/lib/python/webdav
Modified Files:
Tag: ajung_Zope2_FTP_globbing_patch
davcmds.py
Log Message:
try/except around broken product test
--- Updated File davcmds.py in package Zope2 --
--- davcmds.py 2001/04/09 16:31:34 1.10.2.3
+++ davcmds.py 2001/04/09 17:39:31 1.10.2.4
@@ -213,7 +213,9 @@
result.write('</d:response>\n')
if depth in ('1', 'infinity') and iscol:
for ob in obj.objectValues():
- if ob.meta_type=='Broken Because Product is Gone': continue
+ try:
+ ob.meta_type=='Broken Because Product is Gone': continue
+ except: pass
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