The Samba-Bugzilla – Attachment 14776 Details for
Bug 13750
selftest's dns_hub is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch-13750.txt (text/plain), 1.25 KB, created by
Volker Lendecke
on 2019-01-16 13:41:44 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2019-01-16 13:41:44 UTC
Size:
1.25 KB
patch
obsolete
>From b9e8164684a6a6181f5872be47c248ee9c3f512d Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 15 Jan 2019 08:45:26 -0800 >Subject: [PATCH] python: dns_hub: Fix indentation of 'raise' on error. > >Remove second socket.sendto(). > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=13750 >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Andreas Schneider <asn@samba.org> >(cherry picked from commit dd231a16a338cfe63d12cadf0fc3e2ebe7cac828) >--- > python/samba/tests/dns_forwarder_helpers/dns_hub.py | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/python/samba/tests/dns_forwarder_helpers/dns_hub.py b/python/samba/tests/dns_forwarder_helpers/dns_hub.py >index 81aa478f4ba..cf9beb7fa7a 100755 >--- a/python/samba/tests/dns_forwarder_helpers/dns_hub.py >+++ b/python/samba/tests/dns_forwarder_helpers/dns_hub.py >@@ -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): >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13750
:
14776
|
14798