provision_fill: move most db accesses into transactions
authorBob Campbell <bobcampbell@catalyst.net.nz>
Wed, 29 Jun 2016 04:54:06 +0000 (16:54 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 6 Jul 2016 13:35:17 +0000 (15:35 +0200)
commit60375abe46b194490b6b878375488d3a1eb0a07c
tree2f58cf5279c916ae49aab9a6dec5957fdb7088ca
parent9ec9e6f77ba0dcb9af169d90879e4e78e4b65812
provision_fill: move most db accesses into transactions

Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
python/samba/provision/__init__.py
python/samba/provision/sambadns.py