summaryrefslogtreecommitdiff
path: root/Lib/SimpleXMLRPCServer.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-24 18:31:28 +0000
committerGeorg Brandl <georg@python.org>2008-05-24 18:31:28 +0000
commit2782d25e2d607b8a2745d954e8a08e7b9af1803e (patch)
tree73116fa1d0f89e71672111f5308bf1829f39298a /Lib/SimpleXMLRPCServer.py
parent83984ee9319e6f37131d409a3b5bd865241a9cf9 (diff)
downloadcpython-2782d25e2d607b8a2745d954e8a08e7b9af1803e.tar.gz
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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/SimpleXMLRPCServer.py b/Lib/SimpleXMLRPCServer.py
index 353542aee2..5fad0af4a3 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