| Submitter | Matthew McClintock |
|---|---|
| Date | Jan. 11, 2013, 7:03 a.m. |
| Message ID | <1357887783-25188-3-git-send-email-msm@freescale.com> |
| Download | mbox | patch |
| Permalink | /patch/42481/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index c08e2ce..a143aed 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py @@ -148,8 +148,10 @@ class CommandsSync: Get any command parsed from the commandline """ cmd_action = command.cooker.commandlineAction - if cmd_action['msg']: - raise CommandError(msg) + if cmd_action is None: + return None + elif 'msg' in cmd_action and cmd_action['msg']: + raise CommandError(cmd_action['msg']) else: return cmd_action['action']