From d8366a3617e2458fb2ff646ca4ed1749475fa987 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Fri, 5 Jan 2024 19:09:11 -0500 Subject: [PATCH] satisfy linter - again --- toolchain/indenter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/indenter.py b/toolchain/indenter.py index a535ccc2e..284e27519 100644 --- a/toolchain/indenter.py +++ b/toolchain/indenter.py @@ -5,7 +5,7 @@ def main(): num_args = len(sys.argv) if num_args != 2: - raise Exception('Invalid number of arguments, found ', num_args) + raise ValueError('Invalid number of arguments, found ', num_args) infile = str(sys.argv[1]) outfile = infile+".new"