[Zope3-checkins] SVN: Zope3/branches/isarsprint-dav-work/src/zope/app/dav/widget.py Make sure the widget value is unicode

Martijn Pieters mj at zopatista.com
Thu Oct 14 10:22:32 EDT 2004


Log message for revision 28186:
  Make sure the widget value is unicode
  

Changed:
  U   Zope3/branches/isarsprint-dav-work/src/zope/app/dav/widget.py

-=-
Modified: Zope3/branches/isarsprint-dav-work/src/zope/app/dav/widget.py
===================================================================
--- Zope3/branches/isarsprint-dav-work/src/zope/app/dav/widget.py	2004-10-14 14:13:57 UTC (rev 28185)
+++ Zope3/branches/isarsprint-dav-work/src/zope/app/dav/widget.py	2004-10-14 14:22:29 UTC (rev 28186)
@@ -44,7 +44,7 @@
     
     def setRenderedValue(self, value):
         if isinstance(value, minidom.Node):
-            text = ''
+            text = u''
             for node in value.childNodes:
                 if node.nodeType != node.TEXT_NODE:
                     continue



More information about the Zope3-Checkins mailing list