Author: dmeyer
Date: Sun May 20 10:57:07 2007
New Revision: 9588
Modified:
trunk/core/src/fxdparser.py
Log:
unicode fix
Modified: trunk/core/src/fxdparser.py
==============================================================================
--- trunk/core/src/fxdparser.py (original)
+++ trunk/core/src/fxdparser.py Sun May 20 10:57:07 2007
@@ -83,7 +83,9 @@
if content is not None:
node.content = content
for key, value in kwargs.items():
- node.setAttribute(key, str(value))
+ if not isinstance(value, (unicode, str)):
+ value = str(value)
+ node.setAttribute(key, value)
return node
def _writexml(self, writer, indent="", addindent="", newl=""):
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog