samba-tool visualise: helper for getting the partition
commit7e001b27411ef04304fca3fd25c549a8725df34a
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 29 Mar 2018 02:52:25 +0000 (29 15:52 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 10 Jun 2018 17:02:19 +0000 (10 19:02 +0200)
tree84c7711a5bc92f2e31e16394e11d67cc3cf5e921
parent3f25e0b2316f41be3695446f3e5ec9d92ac27440
samba-tool visualise: helper for getting the partition

Repeated code becomes a function.

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