aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2018-09-05 22:26:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-10 12:14:54 +0100
commit30702f29928c3b088f199bf8b1609b2956f8c47a (patch)
tree5c8f1289a7c0bf27b774943dc214d9ce97f6807d /doc
parent486e571b1caaf7f86f8f969c512566487bcd9841 (diff)
downloadbitbake-30702f29928c3b088f199bf8b1609b2956f8c47a.tar.gz
toaster/widgets.py: avoid divide by zero issues
There can be cases where the variables being used to divide in build percentage expressions can be zero. For example, a setup consisting of only local repos will have repos_to_clone=0 and will generate a divide by zero scenario. Fix this by checking the divisor in such cases. [YOCTO #12891] Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions