On Mon, 2016-02-15 at 17:50 +0000, Ross Burton wrote: > Instead of raising a generic Exception that can't be handled specifically, > raise > a ValueError.
If what you want is an exception to mean "this file isn't actually ELF", how about defining a new exception class InvalidElfError or something and raising that? ValueError still seems a bit vague for what you are trying to do. p. -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
