Skip to content

Commit 433fd59

Browse files
committed
chore: fix type error
1 parent e1fd882 commit 433fd59

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

platform_cli/groups/packaging.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@ def build(version: str, output: str, no_tests: bool): # type: ignore reportUnus
252252
bloom_args += " --ignore-shlibs-missing-info"
253253

254254
call(f"bloom-generate {pkg_type} --ros-distro {get_ros_distro()} {bloom_args}")
255-
256-
jobs = cpu_count() if cpu_count() else 1
255+
jobs = cpu_count() or 1
257256
if os.environ.get("BUILDJET_THROTTLE", None):
258257
# the number of RAM to cores on the ARM runners are insufficient, so we can't have a 1:1 job:core ratio
259258
echo(

0 commit comments

Comments
 (0)