[bitbake-devel,2/4] pysh/sherrors.py: Remove unused classes

Submitted by Robert Yang on Dec. 4, 2018, 2:06 a.m. | Patch ID: 156842

Details

Message ID 3388f1e1c1b2a062ab1a2008e80e605f98150edc.1543889029.git.liezhi.yang@windriver.com
State New
Headers show

Commit Message

Robert Yang Dec. 4, 2018, 2:06 a.m.
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>
---
 bitbake/lib/bb/pysh/sherrors.py | 26 --------------------------
 1 file changed, 26 deletions(-)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/pysh/sherrors.py b/bitbake/lib/bb/pysh/sherrors.py
index 49d0533..3fe8e47 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