1 |
diff -Nur plague-0.4.4.1-orig/common/AuthedXMLRPCServer.py plague-0.4.4.1/common/AuthedXMLRPCServer.py |
2 |
--- plague-0.4.4.1-orig/common/AuthedXMLRPCServer.py 2006-02-26 18:07:43.000000000 +0100 |
3 |
+++ plague-0.4.4.1/common/AuthedXMLRPCServer.py 2007-09-19 03:01:00.000000000 +0200 |
4 |
@@ -74,7 +74,9 @@ |
5 |
self.logRequests = 0 |
6 |
self.authinfo_callback = authinfo_callback |
7 |
|
8 |
- if sys.version_info[:3] > (2, 2, 3): |
9 |
+ if sys.version_info[:3] >= (2, 5, 0): |
10 |
+ SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self,False,None) |
11 |
+ elif sys.version_info[:3] > (2, 2, 3): |
12 |
SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self) |
13 |
else: |
14 |
self.funcs = {} |