From: Robert Yang Date: Tue, 4 Dec 2018 02:06:01 +0000 (+0800) Subject: bitbake: pysh/sherrors.py: Remove unused classes X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbc102d8fc4a271fad7dd8b4bbe4afba7bc62c07;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: pysh/sherrors.py: Remove unused classes The only two that we need are ShellSyntaxError and ShellError, others are not used, so remove them. (Bitbake rev: abee2ff5ee71bf8c3221cd9d3cd4243ebb4ca273) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/pysh/sherrors.py b/bitbake/lib/bb/pysh/sherrors.py index 49d0533de22..3fe8e47b2c4 100644 --- a/bitbake/lib/bb/pysh/sherrors.py +++ b/bitbake/lib/bb/pysh/sherrors.py @@ -13,29 +13,3 @@ class ShellError(Exception): class ShellSyntaxError(ShellError): pass - -class UtilityError(ShellError): - """Raised upon utility syntax error (option or operand error).""" - pass - -class ExpansionError(ShellError): - pass - -class CommandNotFound(ShellError): - """Specified command was not found.""" - pass - -class RedirectionError(ShellError): - pass - -class VarAssignmentError(ShellError): - """Variable assignment error.""" - pass - -class ExitSignal(ShellError): - """Exit signal.""" - pass - -class ReturnSignal(ShellError): - """Exit signal.""" - pass