samba-tool domain demote: Fix error handling and error messages
commitea840010ee037da0eab40b0a1c021659fdb95411
authorAndrew Bartlett <abartlet@samba.org>
Wed, 20 Apr 2016 20:16:19 +0000 (21 08:16 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 2 Jun 2016 14:36:15 +0000 (2 16:36 +0200)
treec3c3fa04311dcd92efdd55dec784f7f6b27df747
parentbe7b29135cfe27aa0be0e1c618d808cfdc1a4920
samba-tool domain demote: Fix error handling and error messages

Due to an error in a previous patch, e was undefined

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/netcmd/domain.py