Merge pull request #4148 from MilhouseVH/le10_pkgbuilder-neg-timeout

scripts/pkgbuilder.py: avoid returning negative timeout which is fatal
This commit is contained in:
Christian Hewitt 2020-01-26 11:11:04 +04:00 committed by GitHub
commit 8aa0b504dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -450,7 +450,7 @@ class Builder:
self.generator.activeJobCount(), ",".join(self.generator.activeJobNames())), \
file=self.loadstatsfile, flush=True)
return (self.nextstats - time.time())
return (self.nextstats - now)
# Output progress info, and links to any relevant logs
def displayJobStatus(self, job):