diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-18 18:44:33 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-18 18:44:33 +0000 |
commit | a8e0d4b30b432a0fb8b2436826b5272f19a14e6d (patch) | |
tree | dc8f84c33fd6fe96f22852ad09d22df476bcb92f /lib/bb/ui/knotty.py | |
parent | 5f283282c7e6fa235f4396c53c69bceb11ed1083 (diff) | |
download | bitbake-a8e0d4b30b432a0fb8b2436826b5272f19a14e6d.tar.gz |
cooker.py: Handle error cases (e.g. no targets specified) more neatly
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r-- | lib/bb/ui/knotty.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index a32917910..89a86d801 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -34,6 +34,8 @@ def init(frontend, eventHandler): try: cmdline = frontend.runCommand(["getCmdLineAction"]) #print cmdline + if not cmdline: + return ret = frontend.runCommand(cmdline) if ret != True: print "Cook failed: %s" % ret |