[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7892 - trunk/gnue-common/src/rpc/drivers/xmlrpc
From: |
johannes |
Subject: |
[gnue] r7892 - trunk/gnue-common/src/rpc/drivers/xmlrpc |
Date: |
Fri, 9 Sep 2005 06:13:29 -0500 (CDT) |
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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7892 - trunk/gnue-common/src/rpc/drivers/xmlrpc,
johannes <=