]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: pysh/sherrors.py: Remove unused classes
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 4 Dec 2018 02:06:01 +0000 (10:06 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Dec 2018 11:07:48 +0000 (11:07 +0000)
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>
bitbake/lib/bb/pysh/sherrors.py

index 49d0533de22f08ce5ff255ace860513b7e5acdb3..3fe8e47b2c4c0290934a536a26fb541f8d8d6561 100644 (file)
@@ -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