summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-12-04 10:06:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-09 11:07:48 +0000
commitcbc102d8fc4a271fad7dd8b4bbe4afba7bc62c07 (patch)
tree35e639a57f6ee69bc05ed16e56871726eb1418c7 /bitbake
parent54de2f5089d648db2cc4bc2dc10a5628b5b2e4cd (diff)
downloadpoky-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.py26
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
14class ShellSyntaxError(ShellError): 14class ShellSyntaxError(ShellError):
15 pass 15 pass
16
17class UtilityError(ShellError):
18 """Raised upon utility syntax error (option or operand error)."""
19 pass
20
21class ExpansionError(ShellError):
22 pass
23
24class CommandNotFound(ShellError):
25 """Specified command was not found."""
26 pass
27
28class RedirectionError(ShellError):
29 pass
30
31class VarAssignmentError(ShellError):
32 """Variable assignment error."""
33 pass
34
35class ExitSignal(ShellError):
36 """Exit signal."""
37 pass
38
39class ReturnSignal(ShellError):
40 """Exit signal."""
41 pass