Skip to content

Commit fda1b9f

Browse files
committed
Remove unnecessary parens after 'raise' keyword
1 parent c0c3f7d commit fda1b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygccxml/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def find_xml_generator(name="castxml"):
5454
path = _find_xml_generator_for_legacy_python(name)
5555

5656
if path == "" or path is None:
57-
raise(Exception("No c++ parser found. Please install castxml."))
57+
raise Exception("No c++ parser found. Please install castxml.")
5858
return path.rstrip(), name
5959

6060

0 commit comments

Comments
 (0)