[Zope3-checkins]
SVN: Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py
Another DOM simplification I missed earlier.
Martijn Pieters
mj at zopatista.com
Mon Oct 11 05:42:53 EDT 2004
Log message for revision 27946:
Another DOM simplification I missed earlier.
Changed:
U Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py
-=-
Modified: Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py
===================================================================
--- Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py 2004-10-11 09:39:53 UTC (rev 27945)
+++ Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py 2004-10-11 09:42:53 UTC (rev 27946)
@@ -140,8 +140,7 @@
if isinstance(value, (unicode, str)):
# Get the widget value here
- value = response.createTextNode(value)
- el.appendChild(value)
+ el.appendChild(response.createTextNode(value))
else:
if zapi.isinstance(value, minidom.Node):
el.appendChild(value)
@@ -149,8 +148,7 @@
# Try to string-ify
value = str(getattr(self, p+'_widget'))
# Get the widget value here
- value = response.createTextNode(value)
- el.appendChild(value)
+ el.appendChild(response.createTextNode(value))
if not_avail:
re.appendChild(response.createElement('propstat'))
More information about the Zope3-Checkins
mailing list