From ef86eb88ae55862c1c40b4dbc5c02fed380ac545 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Wed, 19 Feb 2020 07:41:18 +0000 Subject: [PATCH] scripts/pkgbuilder.py: drop redundant test --- scripts/pkgbuilder.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/pkgbuilder.py b/scripts/pkgbuilder.py index 35627bf04f..372787043a 100755 --- a/scripts/pkgbuilder.py +++ b/scripts/pkgbuilder.py @@ -376,7 +376,6 @@ class Builder: else: self.threadcount = int(maxthreadcount) - self.threadcount = 1 if self.threadcount < 1 else self.threadcount self.threadcount = min(self.jobtotal, self.threadcount) self.threadcount = max(1, self.threadcount)