From: Richard Purdie Date: Tue, 9 Apr 2019 15:04:04 +0000 (+0100) Subject: oeqa/utils/qemurunner: Fix typo in previous commit X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=909baeb5901f7f212fbdd6c358c5ada6fe25e091;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/utils/qemurunner: Fix typo in previous commit Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 5d1d0cceca8..49564f9abce 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -320,7 +320,7 @@ class QemuRunner: self.logger.debug("Target didn't reach login banner in %d seconds (%s)" % (self.boottime, time.strftime("%D %H:%M:%S"))) tail = lambda l: "\n".join(l.splitlines()[-25:]) - bootlog = boolog.decode("utf-8") + bootlog = bootlog.decode("utf-8") # in case bootlog is empty, use tail qemu log store at self.msg lines = tail(bootlog if bootlog else self.msg) self.logger.debug("Last 25 lines of text:\n%s" % lines)