mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
python: dns_hub: Fix indentation of 'raise' on error.
Remove second socket.sendto(). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
09effcb53a
commit
dd231a16a3
@ -123,9 +123,7 @@ class DnsHandler(sserver.BaseRequestHandler):
|
||||
except socket.error as err:
|
||||
print("Error sending %s to address %s for name %s: %s\n" %
|
||||
(forwarder, self.client_address, name, err.errno))
|
||||
raise
|
||||
|
||||
socket.sendto(send_packet, self.client_address)
|
||||
raise
|
||||
|
||||
class server_thread(threading.Thread):
|
||||
def __init__(self, server):
|
||||
|
Loading…
Reference in New Issue
Block a user