diff options
author | Tom Pollard <tom.pollard@codethink.co.uk> | 2019-06-13 12:41:00 +0100 |
---|---|---|
committer | Tom Pollard <tom.pollard@codethink.co.uk> | 2019-06-13 12:41:00 +0100 |
commit | f9c0ca3ed8bc87c77eed24e49c3f6fc28d2d487b (patch) | |
tree | 48fc1329367377bd03f9dedc4e73813aa6a2cd1a /src/buildstream/_stream.py | |
parent | 147190b6dc5094cdc550e1250c5bda027796b0d9 (diff) | |
download | buildstream-f9c0ca3ed8bc87c77eed24e49c3f6fc28d2d487b.tar.gz |
_scheduler/scheduler.py: Remove unused elapsed_time() callstpollard/elapsedtime
Both run() and the App callback _ticker_callback() call & return
elapsed_time(), which is the unused by the respective callers and
as such is unnecessary.
Diffstat (limited to 'src/buildstream/_stream.py')
-rw-r--r-- | src/buildstream/_stream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py index 537671679..76a6ba1c0 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -1210,7 +1210,7 @@ class Stream(): if self._session_start_callback is not None: self._session_start_callback() - _, status = self._scheduler.run(self.queues) + status = self._scheduler.run(self.queues) if status == SchedStatus.ERROR: raise StreamError() |