sfa client bootstrap library has a new 'my_pkcs12' feature, and this is now invoked...
[sfa.git] / sfa / client / manifolduploader.py
index e5bb41a..b27d99d 100755 (executable)
@@ -81,10 +81,12 @@ class ManifoldUploader:
         if not message: message=""
 
         try:
+            # looks like the current implementation of manifold server
+            # won't be happy with several calls issued in the same session
 #            manifold=self.proxy()
             url=self.url()
             self.logger.debug("Connecting manifold url %s"%url)
-            manifold = xmlrpclib.Server(url, allow_none = 1)
+            manifold = xmlrpclib.ServerProxy(url, allow_none = True)
             # the code for a V2 interface
             query= { 'action':     'update',
                      'object':     'local:account',
@@ -135,6 +137,7 @@ class ManifoldUploader:
             if self.logger.debugEnabled():
                 import traceback
                 traceback.print_exc()
+            return False
 
 ### this is mainly for unit testing this class but can come in handy as well
 def main ():