samba-tool gpo: add helper method for tmpdir construction
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 6 Nov 2018 22:57:13 +0000 (11:57 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 7 Nov 2018 16:55:08 +0000 (17:55 +0100)
commit94610330947d4a8a654638886929c15de314cd8b
tree16f94238261e3a2b5a28ca4f932fc11426848846
parente3320b6d3df7a0c7b78e71cb5bc2d18f31839573
samba-tool gpo: add helper method for tmpdir construction

A few of the gpo commands use an identical temporary directory structure
that can be constructed using shared code.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/gpo.py