commit 979bdc56df2646d342361bee91df5322739dea97
Author: S.Çağlar Onur <caglar@cs.princeton.edu>
Date:   Fri Jul 2 17:15:00 2010 -0400

    Add allow_none parameter to support passing None type over XMLRPC

diff --git a/func/minion/AuthedXMLRPCServer.py b/func/minion/AuthedXMLRPCServer.py
index 621f618..53f7992 100644
--- a/func/minion/AuthedXMLRPCServer.py
+++ b/func/minion/AuthedXMLRPCServer.py
@@ -70,7 +70,7 @@ class AuthedSSLXMLRPCServer(BaseAuthedXMLRPCServer, SSLCommon.BaseSSLServer, Sim
 
     def __init__(self, address, pkey, cert, ca_cert, authinfo_callback=None, timeout=None):
         BaseAuthedXMLRPCServer.__init__(self, address, authinfo_callback)
-        SimpleXMLRPCServer.SimpleXMLRPCServer.__init__(self, address, AuthedSimpleXMLRPCRequestHandler)
+        SimpleXMLRPCServer.SimpleXMLRPCServer.__init__(self, address, AuthedSimpleXMLRPCRequestHandler, allow_none=True)
         SSLCommon.BaseSSLServer.__init__(self, address, AuthedSimpleXMLRPCRequestHandler, pkey, cert, ca_cert, timeout=timeout)
 
 
diff --git a/func/overlord/sslclient.py b/func/overlord/sslclient.py
index ab90196..16bd40f 100644
--- a/func/overlord/sslclient.py
+++ b/func/overlord/sslclient.py
@@ -29,7 +29,7 @@ class SSL_Transport(xmlrpclib.Transport):
 class SSLXMLRPCServerProxy(xmlrpclib.ServerProxy):
     def __init__(self, uri, pkey_file, cert_file, ca_cert_file, timeout=None):
         self.ctx = SSLCommon.CreateSSLContext(pkey_file, cert_file, ca_cert_file)
-        xmlrpclib.ServerProxy.__init__(self, uri, SSL_Transport(ssl_context=self.ctx, timeout=timeout))
+        xmlrpclib.ServerProxy.__init__(self, uri, SSL_Transport(ssl_context=self.ctx, timeout=timeout), allow_none=True)
 
 
 class FuncServer(SSLXMLRPCServerProxy):
