mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
scripts/utils: Fix variable name conflict
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8ce219dda5
commit
dabf9d6e20
|
@ -255,8 +255,7 @@ class HeaderPrinter(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.last = time.time()
|
self.last = time.time()
|
||||||
def printheader(self, msg):
|
def printheader(self, msg):
|
||||||
time = round(time.time(), 1)
|
printheader(msg, round(time.time(), 1) + ": " + round(time.time() - self.last, 1))
|
||||||
printheader(msg, time + ": " + round(time.time() - self.last, 1))
|
|
||||||
self.last = time.time()
|
self.last = time.time()
|
||||||
|
|
||||||
def errorreportdir(builddir):
|
def errorreportdir(builddir):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user