[anaconda][master/rhel7-branch] kickstart: catch more storage exns

Brian C. Lane bcl at redhat.com
Wed Sep 24 01:07:45 UTC 2014


On Tue, Sep 23, 2014 at 10:32:16AM -0500, David Lehman wrote:
> This is a slightly expanded approach to handling general storage errors
> when parsing kickstart. Patch 1 catches and re-raises exceptions raised
> when instantiating devices as KickstartValueError so the exception
> contains the line number. Patch 2 is the original patch I sent, and
> just catches any StorageError or ValueError that makes it up to
> parseKickstart so we can exit gracefully instead of showing a traceback.

These look ok to me.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list