commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r7012 - in trunk/gnue-common/src/rpc/drivers/xmlrpc: pw_xmlrpc py


From: johannes
Subject: [gnue] r7012 - in trunk/gnue-common/src/rpc/drivers/xmlrpc: pw_xmlrpc py_xmlrpc
Date: Fri, 11 Feb 2005 12:46:47 -0600 (CST)

Author: johannes
Date: 2005-02-11 12:46:46 -0600 (Fri, 11 Feb 2005)
New Revision: 7012

Modified:
   trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc/typeconv.py
   trunk/gnue-common/src/rpc/drivers/xmlrpc/py_xmlrpc/typeconv.py
Log:
Fixed type conversion for dictionaries


Modified: trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc/typeconv.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc/typeconv.py      
2005-02-11 17:12:31 UTC (rev 7011)
+++ trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc/typeconv.py      
2005-02-11 18:46:46 UTC (rev 7012)
@@ -139,7 +139,7 @@
   elif isinstance (value, types.DictionaryType):
     result = {}
     for (key, val) in value.items ():
-      result [python_to_rpc (key, exception)] = python_to_rpc (val, exception)
+      result [rpc_to_python (key, exception)] = rpc_to_python (val, exception)
     return result
 
   else:

Modified: trunk/gnue-common/src/rpc/drivers/xmlrpc/py_xmlrpc/typeconv.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/xmlrpc/py_xmlrpc/typeconv.py      
2005-02-11 17:12:31 UTC (rev 7011)
+++ trunk/gnue-common/src/rpc/drivers/xmlrpc/py_xmlrpc/typeconv.py      
2005-02-11 18:46:46 UTC (rev 7012)
@@ -136,7 +136,7 @@
   elif isinstance (value, types.DictionaryType):
     result = {}
     for (key, val) in value.items ():
-      result [python_to_rpc (key, exception)] = python_to_rpc (val, exception)
+      result [rpc_to_python (key, exception)] = rpc_to_python (val, exception)
     return result
 
   else:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]