[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/utils.py Lets use the decoded value

Wichert Akkerman wichert at wiggy.net
Wed Apr 16 15:53:47 EDT 2008


Log message for revision 85442:
  Lets use the decoded value

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/utils.py

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/utils.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/utils.py	2008-04-16 17:04:44 UTC (rev 85441)
+++ Products.GenericSetup/trunk/Products/GenericSetup/utils.py	2008-04-16 19:53:46 UTC (rev 85442)
@@ -660,7 +660,7 @@
             if isinstance(prop, (tuple, list)):
                 for value in prop:
                     if isinstance(value, str):
-                        value.decode(self._encoding)
+                        value = value.decode(self._encoding)
                     child = self._doc.createElement('element')
                     child.setAttribute('value', value)
                     node.appendChild(child)



More information about the Checkins mailing list