diff options
author | dkhandel <dkhandel@localhost.localdomain> | 2018-06-19 14:20:26 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-06-20 09:40:48 +0000 |
commit | cc2f2e7bfef6ca47e740c5ee6b4665ec2880f860 (patch) | |
tree | 1f6bb75a7ed738850e2e4fc6ddc205addc640081 /extras | |
parent | c097a7894d458e33a41f6db6092677108ef30fec (diff) |
Distributed-testing: Call the correct class i.e. GeneralXMLRPCServer
fixes: bz#1586342
Change-Id: I7a062d49f2a49ca4848ffd0b8d1e39c8b6b99815
Signed-off-by: Deepshikha Khandelwal <dkhandel@redhat.com>
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/distributed-testing/distributed-test-runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/distributed-testing/distributed-test-runner.py b/extras/distributed-testing/distributed-test-runner.py index e3733ac7cb2..b2cf32ef1bb 100755 --- a/extras/distributed-testing/distributed-test-runner.py +++ b/extras/distributed-testing/distributed-test-runner.py @@ -56,7 +56,7 @@ class GeneralXMLRPCServer(SimpleXMLRPCServer.SimpleXMLRPCServer): def server_bind(self): if self.socket: self.socket.close() - self.socket = socket_instance(args['address_family']) + self.socket = socket_instance(args.address_family) self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) SimpleXMLRPCServer.SimpleXMLRPCServer.server_bind(self) @@ -247,7 +247,7 @@ class TestServer: def init(self): Log.debug("Starting xmlrpc server on port %s" % self.port) - self.rpc = GeneralSimpleXMLRPCServer(("", self.port)) + self.rpc = GeneralXMLRPCServer(("", self.port)) self.rpc.register_instance(Handlers(self.scratchdir)) def serve(self): |