s4-dsdb: Use Python 'del' rather than assigning over with None
commitf7d94c67811d1fd6c18866d46d55e2ba87640104
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 21 Oct 2022 02:05:45 +0000 (21 15:05 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 21 Oct 2022 03:57:33 +0000 (21 03:57 +0000)
tree5b138028d59057a6811f99f4bc0e0eb7bc181b17
parentf5ed2936caf9a110a96e317206bd1e9ef16211c7
s4-dsdb: Use Python 'del' rather than assigning over with None

This is the clearer way to trigger the destruction of this variable
and so the LDB connection under it.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/dsdb/tests/python/sam.py