diff options
author | Noel Power <noel.power@suse.com> | 2018-11-28 15:35:33 +0000 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-10 10:38:21 +0100 |
commit | 8b10c7137165c3da10f908c250c0a59d4cca821b (patch) | |
tree | 9d2b96cc31325596b51fa3dec07e7e2d0d48f2c0 | |
parent | fdf2deb3ba18932d255e19acb08b67cb3f24f6f4 (diff) | |
download | samba-8b10c7137165c3da10f908c250c0a59d4cca821b.tar.gz |
python/samba: Py3 Use new compat.sockerserver symbol
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>
-rw-r--r-- | python/samba/tests/dns_forwarder_helpers/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/tests/dns_forwarder_helpers/server.py b/python/samba/tests/dns_forwarder_helpers/server.py index 4292827f4f9..d7a89ca995b 100644 --- a/python/samba/tests/dns_forwarder_helpers/server.py +++ b/python/samba/tests/dns_forwarder_helpers/server.py @@ -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 |