validate: launcher: Remove redundant check
self.out is always available when _get_captured() is called. Patch 4/5 to move logfile handling out of Reporter and into Test.
This commit is contained in:
parent
177eee728f
commit
500206d3ad
@ -159,7 +159,7 @@ class XunitReporter(Reporter):
|
||||
|
||||
def _get_captured(self, test):
|
||||
captured = ""
|
||||
if self.out and not self.options.redirect_logs:
|
||||
if not self.options.redirect_logs:
|
||||
self.out.seek(0)
|
||||
value = self.out.read()
|
||||
if value:
|
||||
|
Loading…
x
Reference in New Issue
Block a user