Commit e70583b7 authored by Andreas Jung's avatar Andreas Jung

merged check for broken objects

parent 108c725a
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
"""WebDAV xml request objects.""" """WebDAV xml request objects."""
__version__='$Revision: 1.11 $'[11:-2] __version__='$Revision: 1.12 $'[11:-2]
import sys, os, string, regex import sys, os, string, regex
from common import absattr, aq_base, urlfix, urlbase from common import absattr, aq_base, urlfix, urlbase
...@@ -215,7 +215,6 @@ class PropFind: ...@@ -215,7 +215,6 @@ class PropFind:
for ob in obj.objectValues(): for ob in obj.objectValues():
if hasattr(ob,"meta_type"): if hasattr(ob,"meta_type"):
if ob.meta_type=="Broken Because Product is Gone": continue if ob.meta_type=="Broken Because Product is Gone": continue
dflag=hasattr(ob, '_p_changed') and (ob._p_changed == None) dflag=hasattr(ob, '_p_changed') and (ob._p_changed == None)
if hasattr(ob, '__locknull_resource__'): if hasattr(ob, '__locknull_resource__'):
# Do nothing, a null resource shouldn't show up to DAV # Do nothing, a null resource shouldn't show up to DAV
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment