Skip to content

Commit

Permalink
validate: launcher: Remove redundant check
Browse files Browse the repository at this point in the history
self.out is always available when _get_captured() is called.

Patch 4/5 to move logfile handling out of Reporter and into Test.
  • Loading branch information
Ramiro Polla authored and tsaunier committed Feb 5, 2015
1 parent 177eee7 commit 500206d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate/launcher/reporters.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def final_report(self):

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:
Expand Down

1 comment on commit 500206d

@thiblahute
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Please sign in to comment.