[Zope-Checkins] CVS: Zope/lib/python/OFS - PropertySheets.py:1.79.2.1

Andreas Jung andreas@zope.com
Mon, 12 Nov 2001 16:05:42 -0500


Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv17319/lib/python/OFS

Modified Files:
      Tag: ajung-webdav-debug
	PropertySheets.py 
Log Message:
made generated WebDAV code more friendly for debugging purposes


=== Zope/lib/python/OFS/PropertySheets.py 1.79 => 1.79.2.1 ===
         propdict=self._propdict()
         if not propdict.has_key(name):
-            prop='<n:%s xmlns:n="%s"/>\n' % (name, xml_id)
+            prop='    <n:%s xmlns:n="%s"/>\n' % (name, xml_id)
             code='404 Not Found'
             if not result.has_key(code):
                 result[code]=[prop]
@@ -429,7 +429,7 @@
             else:
                 # quote non-xml items here?
                 attrs=''
-            prop='<n:%s%s xmlns:n="%s">%s</n:%s>\n' % (
+            prop='    <n:%s%s xmlns:n="%s">%s</n:%s>\n' % (
                  name, attrs, xml_id, value, name)
             code='200 OK'
             if not result.has_key(code):