python/samba: Py3 Use new compat.sockerserver symbol
authorNoel Power <noel.power@suse.com>
Wed, 28 Nov 2018 15:35:33 +0000 (15:35 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:21 +0000 (10:38 +0100)
SocketServer symbol changed in PY3 to socketserver so
we need to use a compat symbol for PY2/PY3 code.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dns_forwarder_helpers/server.py

index 4292827..d7a89ca 100644 (file)
@@ -18,7 +18,7 @@
 #
 # Based on the EchoServer example from python docs
 from __future__ import print_function
-import SocketServer
+from samba.compat import SocketServer
 import sys
 from threading import Timer
 from samba.dcerpc import dns