[anaconda][rhel7-branch/master][PATCH] Don't crash if escrow certificate is requested without network access (#1085265)

Chris Lumens clumens at redhat.com
Fri Sep 26 16:01:11 UTC 2014


> Unfortunately, our only options are KSValueError, KSVersionError, KSParseError
> and the situation of no network being available definitely does not match any of them.

If you're only sticking to pykickstart-provided errors.

Looking around, I see pyanaconda/packaging/__init__.py provides a
NoNetworkError exception.  How about promoting that up out of packaging
and raising that error?  The name is pretty perfect for the situation
here.

- Chris


More information about the anaconda-patches mailing list