Do not display empty worker info
This commit is contained in:
parent
e2ee3144ed
commit
1bcc2f87a2
|
@ -76,7 +76,9 @@ class BaseReport:
|
|||
|
||||
def toterminal(self, out: TerminalWriter) -> None:
|
||||
if hasattr(self, "node"):
|
||||
out.line(getworkerinfoline(self.node))
|
||||
worker_info = getworkerinfoline(self.node)
|
||||
if worker_info:
|
||||
out.line(worker_info)
|
||||
|
||||
longrepr = self.longrepr
|
||||
if longrepr is None:
|
||||
|
|
Loading…
Reference in New Issue