def GetNumJobs(props):
if props.hasProperty("slavename") and props.hasProperty("nproc"):
- return ((int(props["nproc"]) / (max_builds[props["slavename"]] + other_builds)) + 1)
+ return (int(props["nproc"]) / (max_builds[props["slavename"]] + other_builds))
else:
return 1