From cbc102d8fc4a271fad7dd8b4bbe4afba7bc62c07 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 4 Dec 2018 10:06:01 +0800 Subject: 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 --- bitbake/lib/bb/pysh/sherrors.py | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/pysh/sherrors.py b/bitbake/lib/bb/pysh/sherrors.py index 49d0533de2..3fe8e47b2c 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 -- cgit v1.2.3-54-g00ecf