[Freeipa-devel] [PATCH] 0040 Move install script error handling to a common function
Petr Viktorin
pviktori at redhat.com
Mon Apr 23 09:19:51 UTC 2012
This fixes https://fedorahosted.org/freeipa/ticket/2071 (Add final debug
message in installers).
I submitted an earlier version of this patch before (0014), but it was
too much to include in 2.2. Hopefully now there's more space for
restructuring. I think it's better to start a new thread with this approach.
The try/except blocks at the end of installers/management scripts are
replaced by a call to a common function, which includes the final message.
For each specific error, the error handlers in all scripts was almost
the same, but each script handled a different selection of errors.
Instead of having this copy/pasted code (with subtle differences
creeping in over time), this patch consolidates it all in one place.
--
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0040-Move-install-script-error-handling-to-a-common-funct.patch
Type: text/x-patch
Size: 35289 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120423/b872d70a/attachment.bin>
More information about the Freeipa-devel
mailing list