Skip to content

Commit 7d1f7fb

Browse files
author
Sergio Schvezov
authored
static: prepare for update to black 19.10b0 (#3183)
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
1 parent 7346d93 commit 7d1f7fb

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

snapcraft/plugins/v1/_ros/wstool.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,15 @@ def _run(self, arguments: List[str]) -> str:
161161
if "LD_LIBRARY_PATH" in env:
162162
env["LD_LIBRARY_PATH"] += ":"
163163
ld_library_path = env.get("LD_LIBRARY_PATH", "")
164-
env[
165-
"LD_LIBRARY_PATH"
166-
] = ld_library_path + snapcraft.formatting_utils.combine_paths(
167-
snapcraft.common.get_library_paths(
168-
self._wstool_install_path, self._project.arch_triplet
169-
),
170-
prepend="",
171-
separator=":",
164+
env["LD_LIBRARY_PATH"] = (
165+
ld_library_path
166+
+ snapcraft.formatting_utils.combine_paths(
167+
snapcraft.common.get_library_paths(
168+
self._wstool_install_path, self._project.arch_triplet
169+
),
170+
prepend="",
171+
separator=":",
172+
)
172173
)
173174

174175
# Make sure git can be used out of the wstool install path instead of needing

0 commit comments

Comments
 (0)