scripts/utils: Fix variable name conflict

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2018-11-09 14:14:34 +00:00
parent 8ce219dda5
commit dabf9d6e20

View File

@ -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):