summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py2
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
54class CommandError(Exception): 56class CommandError(Exception):
55 pass 57 pass