projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177eee7
)
validate: launcher: Remove redundant check
author
Ramiro Polla
<ramiro.polla@collabora.co.uk>
Fri, 16 Jan 2015 18:54:56 +0000
(19:54 +0100)
committer
Thibault Saunier
<tsaunier@gnome.org>
Thu, 5 Feb 2015 14:18:37 +0000
(15:18 +0100)
self.out is always available when _get_captured() is called.
Patch 4/5 to move logfile handling out of Reporter and into Test.
validate/launcher/reporters.py
patch
|
blob
|
history
diff --git
a/validate/launcher/reporters.py
b/validate/launcher/reporters.py
index 842b8521b069d37950deec974997ff33f4c2c85a..7b157007e83de9093bb4f694a2deff89f9e41049 100644
(file)
--- a/
validate/launcher/reporters.py
+++ b/
validate/launcher/reporters.py
@@
-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: