Skip to content

Commit fe043f4

Browse files
(CI) use f-string
1 parent 78e50d2 commit fe043f4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.ci/get_install_build_packages.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
for pkg_path in packages:
2020
pkg = os.path.split(pkg_path)[-1]
21-
21+
2222
# Messages need to build and require there depencies
2323
for msg_type in ["action", "msg", "srv"]:
2424
if os.path.isdir(os.path.join(pkg_path, msg_type)):
@@ -37,9 +37,6 @@
3737
break
3838
else:
3939
build_pkgs.add(pkg)
40-
4140
print(
42-
"INSTALL_BUILD_PKGS=({}); BUILD_PKGS=({})".format(
43-
" ".join(install_build_pkgs.difference(skip_pkgs)), " ".join(build_pkgs.difference(skip_pkgs))
44-
)
41+
f"INSTALL_BUILD_PKGS=({' '.join(install_build_pkgs.difference(skip_pkgs))}); BUILD_PKGS=({' '.join(build_pkgs.difference(skip_pkgs))})"
4542
)

0 commit comments

Comments
 (0)