scripts/pkgbuilder.py: drop redundant test
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user