Skip to content

Commit 29adb2b

Browse files
committed
fixup: appease pylint
1 parent 3b49c30 commit 29adb2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/deployctl/subcommands/dataproc_cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def start_cluster(name: str, cluster_args: typing.List[str]) -> None:
3030
)
3131
try:
3232
local_hail_version = importlib.metadata.version("hail")
33-
except importlib.metadata.PackageNotFoundError:
34-
raise RuntimeError("Hail must be installed locally")
33+
except importlib.metadata.PackageNotFoundError as package_not_found:
34+
raise RuntimeError("Hail must be installed locally") from package_not_found
3535

3636
if not requirements_hail_version:
3737
raise RuntimeError("Hail must be pinned in data-pipeline/requirements.txt")

0 commit comments

Comments
 (0)