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:
Ramiro Polla 2015-01-16 19:54:56 +01:00 committed by Thibault Saunier
parent 177eee728f
commit 500206d3ad

View file

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