Skip to content

Commit

Permalink
Remove an unnecessary parentheses to raise.
Browse files Browse the repository at this point in the history
This will fix a warning when using newer versions of flake8.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Jan 26, 2024
1 parent 5ea1c94 commit ce7618b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def generate_type_hash(generator_arguments_file: str) -> List[str]:
except Exception as e:
print('Error processing idl file: ' +
str(locator.get_absolute_path()), file=sys.stderr)
raise(e)
raise e

idl_rel_path = Path(idl_parts[1])
generate_to_dir = (output_dir / idl_rel_path).parent
Expand Down

0 comments on commit ce7618b

Please sign in to comment.