python: Don't leak file handles
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 1 Sep 2021 03:42:28 +0000 (15:42 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 21 Sep 2021 23:05:41 +0000 (23:05 +0000)
commitcde38d36b98f1d40e7b58cd4c4b4bedfab76c390
treeb8523e5ba2bd226316329265bf6fb3a4643c7a2f
parent9a24d8e491fc5b289c3e25eb448574e035420536
python: Don't leak file handles

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/__init__.py
python/samba/ms_schema.py
python/samba/schema.py