python/samba: PY3 port samba.tests.samba_tool.visualize_drs
authorNoel Power <noel.power@suse.com>
Tue, 20 Nov 2018 17:02:25 +0000 (17:02 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:24 +0000 (10:38 +0100)
commitd7dba6f701fa128803d7f7ead5bb6ddd3372393b
tree5f592200edd42da47d0de1af2f3ad97b88c8d6a1
parent06ef2d51a1b48952e7c443504cf03cbea2716ad1
python/samba: PY3 port samba.tests.samba_tool.visualize_drs

* Fix calling samba-tool with correct PYTHON version
* Fix integer division needs '//' operator (this was causing
  'uncaught exception - list indices must be integers or slices,
   not float'

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/samba_tool/visualize_drs.py
python/samba/uptodateness.py