samba-tool ldapcmp: use ValueError, not obsolete StandardError
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 10 Oct 2018 23:40:09 +0000 (12:40 +1300)
committerNoel Power <npower@samba.org>
Thu, 25 Oct 2018 19:45:57 +0000 (21:45 +0200)
commitbc8201bdf46f487e88812e6adc7b3d2d66a2c900
tree0e412ec0ac9c6e75629578a9ad42cc3ed75ead1d
parent2412ca517da36e660c685a8ac001118775672a52
samba-tool ldapcmp: use ValueError, not obsolete StandardError

The error is in the value, and StandardError is not in Python 3

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/netcmd/ldapcmp.py