summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/tests.py
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2015-10-14 15:43:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-16 14:13:22 +0100
commit026e9812648e9d43b3fcfce8aab1cd8e843246a2 (patch)
tree660c538d9978537baed3f47155f742d57f98159c /bitbake/lib/toaster/toastergui/tests.py
parent1feeb8e4991dc2f2a2b85b4b544ad36e96dc4a0b (diff)
downloadpoky-026e9812648e9d43b3fcfce8aab1cd8e843246a2.tar.gz
bitbake: toaster: Check whether buildrequest exists before using it
Builds initiated from the command line don't have a buildrequest associated with them. The build.buildrequest association is only added if a build is triggered from toaster. Some of the code for displaying the status of a build refers to build.buildrequest without checking whether it has been set, which causes an error to be thrown. Add a guard to check whether the buildrequest has been set. [YOCTO #8277] (Bitbake rev: af33409612139ab2347baf6b847b23faea19752d) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tests.py')
0 files changed, 0 insertions, 0 deletions