diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-12-04 10:06:01 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-08 22:36:37 +0000 |
commit | abee2ff5ee71bf8c3221cd9d3cd4243ebb4ca273 (patch) | |
tree | ee5798c34ea2b9a3b9c6cbde7b67f30351874372 | |
parent | 9cc4f12d2aef366a593c7977d3818a3002b1d8bf (diff) | |
download | bitbake-abee2ff5ee71bf8c3221cd9d3cd4243ebb4ca273.tar.gz |
pysh/sherrors.py: Remove unused classes
The only two that we need are ShellSyntaxError and ShellError, others are not
used, so remove them.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/pysh/sherrors.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/bb/pysh/sherrors.py b/lib/bb/pysh/sherrors.py index 49d0533de..3fe8e47b2 100644 --- a/lib/bb/pysh/sherrors.py +++ b/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 |