KCC: raise KCCError, not Exception, in multiple places
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Mon, 22 Jun 2015 04:38:29 +0000 (16:38 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 29 Oct 2015 04:08:16 +0000 (05:08 +0100)
commite9f0799a18955e9fec1478a6019a333f588b26cc
tree69f1986e58e5a5fd907f00cba0cc0df3e9ebb2ab
parent26384192d56d765a8ea4667fac7c9b7ad2e3d415
KCC: raise KCCError, not Exception, in multiple places

"except Exception" lines will still catch them, but more fine-grained
control is possible.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/kcc/kcc_utils.py