1 |
Index: plague-0.4.4.1/common/XMLRPCServerProxy.py |
2 |
=================================================================== |
3 |
--- plague-0.4.4.1.orig/common/XMLRPCServerProxy.py |
4 |
+++ plague-0.4.4.1/common/XMLRPCServerProxy.py |
5 |
@@ -25,7 +25,9 @@ class PlgSSL_Transport(xmlrpclib.Transpo |
6 |
|
7 |
user_agent = "pyOpenSSL_XMLRPC/%s - %s" % (__version__, xmlrpclib.Transport.user_agent) |
8 |
|
9 |
- def __init__(self, ssl_context, timeout=None): |
10 |
+ def __init__(self, ssl_context, timeout=None, use_datetime=0): |
11 |
+ if sys.version_info[:3] >= (2, 5, 0): |
12 |
+ xmlrpclib.Transport.__init__(self, use_datetime) |
13 |
self.ssl_ctx=ssl_context |
14 |
self._timeout = timeout |
15 |
|