Verified Commit 997a5f61 authored by Juliana Oliveira's avatar Juliana Oliveira Committed by Mattia Rizzolo

comparators: utils: command: replaces .stderr_content by .stderr

There is no need for two stderr properties.
Signed-off-by: 's avatarJuliana Oliveira <>
parent 26db5829
......@@ -95,10 +95,6 @@ class Command(object, metaclass=abc.ABCMeta):
return buf
def stderr_content(self):
return self.stderr
def returncode(self):
return self._process.returncode
......@@ -268,16 +268,16 @@ class Difference(object):
if not difference:
return None, False
if command1 and command1.stderr_content:
if command1 and command1.stderr:
difference.add_comment("stderr from `{}`:".format(
' '.join(command1.cmdline()),
if command2 and command2.stderr_content:
if command2 and command2.stderr:
difference.add_comment("stderr from `{}`:".format(
' '.join(command2.cmdline()),
return difference, False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment