mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
buildstats.bbclass: Remove useless variables
Remove useless variables bn and bsdir in write_task_data(). (From OE-Core rev: de26d6ce9d2154b5bb51491d9f4bd590cb5a0fc7) Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bd0a9ea61b
commit
388250a48f
@@ -80,8 +80,6 @@ def get_buildtimedata(var, d):
|
||||
return timediff, cpuperc
|
||||
|
||||
def write_task_data(status, logfile, e, d):
|
||||
bn = d.getVar('BUILDNAME')
|
||||
bsdir = os.path.join(d.getVar('BUILDSTATS_BASE'), bn)
|
||||
with open(os.path.join(logfile), "a") as f:
|
||||
elapsedtime = get_timedata("__timedata_task", d, e.time)
|
||||
if elapsedtime:
|
||||
|
||||
Reference in New Issue
Block a user