conduit r1305 - in trunk: . conduit/modules/NetworkModule



Author: jstowers
Date: Wed Feb 13 21:54:55 2008
New Revision: 1305
URL: http://svn.gnome.org/viewvc/conduit?rev=1305&view=rev

Log:
2008-02-14  John Stowers  <john stowers gmail com>

	* conduit/modules/NetworkModule/XMLRPCUtils.py: Add allow_none to Sever
	objects. This should fix the two way network sync bugs people were seeing



Modified:
   trunk/ChangeLog
   trunk/conduit/modules/NetworkModule/XMLRPCUtils.py

Modified: trunk/conduit/modules/NetworkModule/XMLRPCUtils.py
==============================================================================
--- trunk/conduit/modules/NetworkModule/XMLRPCUtils.py	(original)
+++ trunk/conduit/modules/NetworkModule/XMLRPCUtils.py	Wed Feb 13 21:54:55 2008
@@ -103,7 +103,10 @@
     def __init__(self, *args):
         DataProvider.TwoWay.__init__(self)
         clog.info("Connecting to remote DP on %s" % self.url)
-        self.server = xmlrpclib.Server(self.url)
+        #Add use_datetime arg for >= python 2.5
+        self.server = xmlrpclib.Server(
+                                    self.url,
+                                    allow_none=True)
 
     @Utils.log_function_call(clog)
     def refresh(self):



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