diff options
author | Georg Brandl <georg@python.org> | 2008-05-24 18:31:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-24 18:31:28 (GMT) |
commit | e152a77d96df7479ce798ebd5baee7d41af99db3 (patch) | |
tree | 3d13fa9679d1ae46e5dec0af2ddf09f6edd45561 /Lib/SimpleXMLRPCServer.py | |
parent | 6acb075f03ec5ecb8d89bc56fae99dc8c5a510ab (diff) | |
download | cpython-e152a77d96df7479ce798ebd5baee7d41af99db3.zip cpython-e152a77d96df7479ce798ebd5baee7d41af99db3.tar.gz cpython-e152a77d96df7479ce798ebd5baee7d41af99db3.tar.bz2 |
socketserver renaming reversal part 3: move the module into the right
place and fix all references to it. Closes #2926.
Diffstat (limited to 'Lib/SimpleXMLRPCServer.py')
-rw-r--r-- | Lib/SimpleXMLRPCServer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/SimpleXMLRPCServer.py b/Lib/SimpleXMLRPCServer.py index 353542a..5fad0af 100644 --- a/Lib/SimpleXMLRPCServer.py +++ b/Lib/SimpleXMLRPCServer.py @@ -101,7 +101,7 @@ server.handle_request() import xmlrpclib from xmlrpclib import Fault -import socketserver +import SocketServer import BaseHTTPServer import sys import os @@ -512,7 +512,7 @@ class SimpleXMLRPCRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): if self.server.logRequests: BaseHTTPServer.BaseHTTPRequestHandler.log_request(self, code, size) -class SimpleXMLRPCServer(socketserver.TCPServer, +class SimpleXMLRPCServer(SocketServer.TCPServer, SimpleXMLRPCDispatcher): """Simple XML-RPC server. @@ -536,7 +536,7 @@ class SimpleXMLRPCServer(socketserver.TCPServer, self.logRequests = logRequests SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding) - socketserver.TCPServer.__init__(self, addr, requestHandler, bind_and_activate) + SocketServer.TCPServer.__init__(self, addr, requestHandler, bind_and_activate) # [Bug #1222790] If possible, set close-on-exec flag; if a # method spawns a subprocess, the subprocess shouldn't have |