[PATCH] python indent bugfix in dns_hub.py

Jeremy Allison jra at samba.org
Tue Jan 15 16:58:26 UTC 2019


On Tue, Jan 15, 2019 at 05:52:37PM +0100, Andreas Schneider wrote:
> On Tuesday, January 15, 2019 5:50:17 PM CET Jeremy Allison via samba-technical 
> wrote:
> > Hi Volker,
> > 
> > Oops. I think I made a mistake in my update to
> > your python (apologies, I'm still a complete
> > newbie at python).
> > 
> > I indented the 'raise' forwarding incorrectly
> > (missing one 4-char level of indentation). I
> > think the following is needed to match the
> > proper usage previously.
> 
> I just realized the same and created the same patch.
> 
> RB+ and pushed to autobuild.

Not so fast, I think the socket.sendto() also
got duplicated :-(.

I think the below is what is needed. Can you
check and push if correct ?

Thanks,

Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-python-dns_hub-Fix-indentation-of-raise-on-error.patch
Type: text/x-diff
Size: 1127 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190115/ad3f9335/0001-python-dns_hub-Fix-indentation-of-raise-on-error.diff>


More information about the samba-technical mailing list