summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-07-30 13:18:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 16:09:15 +0100
commit36c7c64519959cc7c0ad69a7483ef556845f1cba (patch)
treee6366b1f798d934ba6bb97a1085d0d5870abf15d /meta/lib
parentbff36f1736add41766463474f171df0c73a8c6f5 (diff)
downloadpoky-36c7c64519959cc7c0ad69a7483ef556845f1cba.tar.gz
buildhistory: correctly handle reductions of numeric fields
(From OE-Core rev: 94fffb92e6a7a8021fb1acb06b9c4218703e23b2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/buildhistory_analysis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py
index a5da7d9944..7dec6c1342 100644
--- a/meta/lib/oe/buildhistory_analysis.py
+++ b/meta/lib/oe/buildhistory_analysis.py
@@ -308,7 +308,7 @@ def compare_dict_blobs(path, ablob, bblob, report_all):
308 percentchg = ((bval - aval) / float(aval)) * 100 308 percentchg = ((bval - aval) / float(aval)) * 100
309 else: 309 else:
310 percentchg = 100 310 percentchg = 100
311 if percentchg < monitor_numeric_threshold: 311 if abs(percentchg) < monitor_numeric_threshold:
312 continue 312 continue
313 elif (not report_all) and key in list_fields: 313 elif (not report_all) and key in list_fields:
314 if key == "FILELIST" and path.endswith("-dbg") and bstr.strip() != '': 314 if key == "FILELIST" and path.endswith("-dbg") and bstr.strip() != '':