summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-01-13 11:47:07 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-01-13 11:47:07 -0500
commitbabbeca1e1f7361aac83f599aec9c0341a619f0f (patch)
treef03f6ef20d261e751c982d8b9c19c1ef7373040d /func
parent4ff11f4a5e883bcba11f021ae3d42dd318cc6396 (diff)
Apply John's threaded Func minion patch. Now minions can do more than
one thing at once!
Diffstat (limited to 'func')
-rw-r--r--func/minion/AuthedXMLRPCServer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/func/minion/AuthedXMLRPCServer.py b/func/minion/AuthedXMLRPCServer.py
index 265d1b2..0ec9ce0 100644
--- a/func/minion/AuthedXMLRPCServer.py
+++ b/func/minion/AuthedXMLRPCServer.py
@@ -20,7 +20,7 @@ import socket
import SimpleXMLRPCServer
from func import SSLCommon
import OpenSSL
-
+import SocketServer
class AuthedSimpleXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler):
@@ -50,7 +50,7 @@ class AuthedSimpleXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHan
print "Error (%s): socket error - '%s'" % (self.client_address, e)
-class BaseAuthedXMLRPCServer:
+class BaseAuthedXMLRPCServer(SocketServer.ThreadingMixIn):
def __init__(self, address, authinfo_callback=None):
self.allow_reuse_address = 1
self.logRequests = 1