diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index c06ab072ad..05803d6af0 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -50,6 +50,8 @@ class CommandFailed(CommandExit): | |||
| 50 | def __init__(self, message): | 50 | def __init__(self, message): |
| 51 | self.error = message | 51 | self.error = message |
| 52 | CommandExit.__init__(self, 1) | 52 | CommandExit.__init__(self, 1) |
| 53 | def __str__(self): | ||
| 54 | return "Command execution failed: %s" % self.error | ||
| 53 | 55 | ||
| 54 | class CommandError(Exception): | 56 | class CommandError(Exception): |
| 55 | pass | 57 | pass |
