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"