scripting: Make tdb_copy use the python subprocess module
authorAndrew Bartlett <abartlet@samba.org>
Sun, 17 Feb 2013 06:57:42 +0000 (17:57 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 16 Mar 2013 09:26:45 +0000 (20:26 +1100)
commit5e95b0823db1afe039a9b62beb58ce2efa07ce18
tree1a67ee4b1fd0e8bb9eda9e71f18405a9637475cf
parentf5a43ab981e3aa473b8f9d03a17ec639fa1c9df9
scripting: Make tdb_copy use the python subprocess module

This makes the code more robust to spaces in the file names (etc).

Andrew Bartlett

Reviewed-by: Matthieu Patou <mat@samba.org>
(cherry picked from commit 2c2759e408d9c45c2aee0c2578f45edd246afec3)
source4/scripting/python/samba/provision/sambadns.py