[oe-commits] [bitbake] 02/04: pysh/sherrors.py: Remove unused classes
git at git.openembedded.org
git at git.openembedded.org
Sat Dec 8 22:39:25 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit abee2ff5ee71bf8c3221cd9d3cd4243ebb4ca273
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Tue Dec 4 10:06:01 2018 +0800
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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/pysh/sherrors.py | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/lib/bb/pysh/sherrors.py b/lib/bb/pysh/sherrors.py
index 49d0533..3fe8e47 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list