s4:provision Improve the handling of provision errors
commit027123199e13cc02ae4edadd8f0dd0f0660e1193
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Mar 2010 03:49:34 +0000 (11 14:49 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Mar 2010 04:28:53 +0000 (11 15:28 +1100)
treec6c49eae8fb1bececb74992948ea3463918a1096
parent59545276f2bd6df8ee5e75e96e707fd86ff44350
s4:provision Improve the handling of provision errors

The backtraces were too confusing for our users, and didn't tell them
what to do to fix the problem.  By printing the string (rather than a
backtrace), and including in the error what to do, and what file to
remove, we give them a chance.

Andrew Bartlett
source4/scripting/python/samba/provision.py
source4/scripting/python/samba/provisionexceptions.py
source4/setup/provision