From ea8306dd8f3762894c43647eb13e6f2ab9489456 Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 1 Feb 2023 20:38:58 +0100 Subject: [PATCH] chore: fix pylint error --- tools/packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packages.py b/tools/packages.py index eab866c91..fd83fadb8 100755 --- a/tools/packages.py +++ b/tools/packages.py @@ -49,7 +49,7 @@ def list_packages_files( path = path / DEFAULT_PACKAGES_FILENAME if not path.is_file(): - raise Exception(f"{path} is not a file!") + raise ValueError(f"{path} is not a file!") yield path