Author: johannes
Date: 2005-09-09 06:13:27 -0500 (Fri, 09 Sep 2005)
New Revision: 7892
Modified:
trunk/gnue-common/src/rpc/drivers/xmlrpc/typeconv.py
Log:
Don't use unicode-keys in dictionaries, since python 2.3.4 doesn't like that
Modified: trunk/gnue-common/src/rpc/drivers/xmlrpc/typeconv.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/xmlrpc/typeconv.py 2005-09-06
22:46:38 UTC (rev 7891)
+++ trunk/gnue-common/src/rpc/drivers/xmlrpc/typeconv.py 2005-09-09
11:13:27 UTC (rev 7892)
@@ -107,8 +107,11 @@
elif key is None:
key = ''
- result [python_to_rpc (key, exception)] = python_to_rpc (val, exception)
+ elif not isinstance (key, str):
+ key = python_to_rpc (key, exception)
+ result [key] = python_to_rpc (val, exception)
+
return result
else:
_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue