| Index: scripts/slave/chromium_commands.py
|
| diff --git a/scripts/slave/chromium_commands.py b/scripts/slave/chromium_commands.py
|
| index 26ee71ad6f36dc0e65c4cec05428ffe7f14c2e2b..a6dc0aae4ef171526c8d99b29b81376ae81f51ef 100644
|
| --- a/scripts/slave/chromium_commands.py
|
| +++ b/scripts/slave/chromium_commands.py
|
| @@ -632,6 +632,7 @@ class ApplyIssue(Command):
|
| self.workdir = None
|
| self.timeout = None
|
| self.server = None
|
| + self.command = None
|
| chromium_utils.GetParentClass(ApplyIssue).__init__(self, *args, **kwargs)
|
|
|
| def _doApplyIssue(self, _):
|
| @@ -649,10 +650,10 @@ class ApplyIssue(Command):
|
| if self.server:
|
| cmd.extend(['-s', self.server])
|
|
|
| - command = runprocess.RunProcess(
|
| + self.command = runprocess.RunProcess(
|
| self.builder, cmd, os.path.join(self.builder.basedir, self.workdir),
|
| - timeout=self.timeout)
|
| - return command.start()
|
| + timeout=self.timeout, keepStdout=True)
|
| + return self.command.start()
|
|
|
| # Command overrides:
|
|
|
| @@ -670,8 +671,12 @@ class ApplyIssue(Command):
|
| log.msg('ApplyIssue.start')
|
| d = defer.succeed(None)
|
| d.addCallback(self._doApplyIssue)
|
| + d.addCallback(self._parseGotRevision)
|
| return d
|
|
|
| + def _parseGotRevision(self, command):
|
| + return self.sendStatus(extract_revisions(self.command.stdout))
|
| +
|
|
|
| def RegisterCommands():
|
| """Registers all command objects defined in this file."""
|
|
|