[PATCH pyparted] Add new functions to extend exception handling.
Vratislav Podzimek
vpodzime at redhat.com
Wed Jan 14 07:33:32 UTC 2015
On Tue, 2015-01-13 at 11:15 -0500, Chris Lumens wrote:
> We've been avoiding this for an awful long time, but there is now a need for
> users of pyparted to be able to specify what answers should be given to parted
> exceptions that ask a question. Specifically, we need to be able to ask the
> user whether to proceed with a disk containing a corrupted GPT disk label or not.
>
> This adds a function to register a callback that can prompt the user (among other
> possible actions) and a function to clear this callback to restore default
> behavior.
Looks much better than what I was affraid to see. ACK and thanks for
dealing with this!
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list