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

extras-buildsys/common SimpleSSLXMLRPCServer.py,1.3,1.4



Author: dcbw

Update of /cvs/fedora/extras-buildsys/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16693/common

Modified Files:
	SimpleSSLXMLRPCServer.py 
Log Message:
2005-06-14  Dan Williams <dcbw redhat com>

    * common/SimpleSSLXMLRPCServer.py
        - Fix for usage on Python 2.2.x, which doesn't have SimpleXMLRPCDispatcher




Index: SimpleSSLXMLRPCServer.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/common/SimpleSSLXMLRPCServer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SimpleSSLXMLRPCServer.py	14 Jun 2005 01:16:30 -0000	1.3
+++ SimpleSSLXMLRPCServer.py	14 Jun 2005 22:09:04 -0000	1.4
@@ -79,7 +79,8 @@
         self.logRequests = 0
         self.authinfo_callback = authinfo_callback
 
-        SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self)
+        if sys.version_info[:3] > (2, 2, 3):
+            SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self)
 
         ctx = SSLCommon.getSSLContext(certs)
         SSLCommon.QuietSSLServer.__init__(self, address, AuthedSimpleXMLRPCRequestHandler, ctx) 


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