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-09 11:07:48 +0000 |
commit | cbc102d8fc4a271fad7dd8b4bbe4afba7bc62c07 (patch) | |
tree | 35e639a57f6ee69bc05ed16e56871726eb1418c7 /bitbake | |
parent | 54de2f5089d648db2cc4bc2dc10a5628b5b2e4cd (diff) | |
download | poky-cbc102d8fc4a271fad7dd8b4bbe4afba7bc62c07.tar.gz |
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 <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/pysh/sherrors.py | 26 |
1 files changed, 0 insertions, 26 deletions
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): | |||
13 | 13 | ||
14 | class ShellSyntaxError(ShellError): | 14 | class ShellSyntaxError(ShellError): |
15 | pass | 15 | pass |
16 | |||
17 | class UtilityError(ShellError): | ||
18 | """Raised upon utility syntax error (option or operand error).""" | ||
19 | pass | ||
20 | |||
21 | class ExpansionError(ShellError): | ||
22 | pass | ||
23 | |||
24 | class CommandNotFound(ShellError): | ||
25 | """Specified command was not found.""" | ||
26 | pass | ||
27 | |||
28 | class RedirectionError(ShellError): | ||
29 | pass | ||
30 | |||
31 | class VarAssignmentError(ShellError): | ||
32 | """Variable assignment error.""" | ||
33 | pass | ||
34 | |||
35 | class ExitSignal(ShellError): | ||
36 | """Exit signal.""" | ||
37 | pass | ||
38 | |||
39 | class ReturnSignal(ShellError): | ||
40 | """Exit signal.""" | ||
41 | pass | ||