Merge pull request #9357 from GergelyKalmar/remove-unnecessary-newline

This commit is contained in:
Bruno Oliveira 2021-12-01 19:08:46 -03:00 committed by GitHub
commit 482b858675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -129,6 +129,7 @@ Garvit Shubham
Gene Wood Gene Wood
George Kussumoto George Kussumoto
Georgy Dyuldin Georgy Dyuldin
Gergely Kalmár
Gleb Nikonorov Gleb Nikonorov
Graeme Smecher Graeme Smecher
Graham Horler Graham Horler

View File

@ -76,7 +76,9 @@ class BaseReport:
def toterminal(self, out: TerminalWriter) -> None: def toterminal(self, out: TerminalWriter) -> None:
if hasattr(self, "node"): if hasattr(self, "node"):
out.line(getworkerinfoline(self.node)) worker_info = getworkerinfoline(self.node)
if worker_info:
out.line(worker_info)
longrepr = self.longrepr longrepr = self.longrepr
if longrepr is None: if longrepr is None: