s4:samba-tool/testparm: report a CommandError if loading of the config file fails
commit76106a30452c964066e3c522a9f1fefbc2dd14f7
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Nov 2012 08:01:29 +0000 (9 09:01 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 26 Nov 2012 11:37:39 +0000 (26 12:37 +0100)
tree42200c54dc14c01c5edff990a8cc0f1119a7c7ec
parent48ec9ca6f2e9b06955976b35f8a0028f094589c9
s4:samba-tool/testparm: report a CommandError if loading of the config file fails

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 11f5d54cbb10fd5c5f0e1718427609709c3476f4)

Fix bug #9373 - Output of 'samba-tool' does not look very nice.
source4/scripting/python/samba/netcmd/testparm.py