commit-gnue
[Top][All Lists]
Advanced

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

r6814 - trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc


From: reinhard
Subject: r6814 - trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc
Date: Tue, 21 Dec 2004 03:57:37 -0600 (CST)

Author: reinhard
Date: 2004-12-21 03:57:36 -0600 (Tue, 21 Dec 2004)
New Revision: 6814

Modified:
   trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc/typeconv.py
Log:
Fix for LongInt types (as widely used with Python 2.4)


Modified: trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc/typeconv.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc/typeconv.py      
2004-12-20 13:19:49 UTC (rev 6813)
+++ trunk/gnue-common/src/rpc/drivers/xmlrpc/pw_xmlrpc/typeconv.py      
2004-12-21 09:57:36 UTC (rev 6814)
@@ -45,6 +45,8 @@
   # Number
   elif isinstance (value, types.IntType):
     return value
+  elif isinstance (value, types.LongType):
+    return value
   elif isinstance (value, types.FloatType):
     return value
 
@@ -103,6 +105,8 @@
   # Number
   elif isinstance (value, types.IntType):
     return value
+  elif isinstance (value, types.LongType):
+    return value
   elif isinstance (value, types.FloatType):
     return value
 





reply via email to

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