From c567e7a9e87649040bb67b65d5b87b3ff7847bbe Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sun, 26 Jan 2020 06:54:25 +0000 Subject: [PATCH] scripts/pkgbuilder.py: avoid returning negative timeout which is fatal --- scripts/pkgbuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pkgbuilder.py b/scripts/pkgbuilder.py index 8dbec9065a..6846c75c7d 100755 --- a/scripts/pkgbuilder.py +++ b/scripts/pkgbuilder.py @@ -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):