Skip to content

Commit a1df372

Browse files
committed
Remove unnecessary else
1 parent 0ece970 commit a1df372

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pygccxml/utils/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ def find_xml_generator(name="castxml"):
5555

5656
if path == "":
5757
raise(Exception("No c++ parser found. Please install castxml."))
58-
else:
59-
return path.rstrip(), name
58+
return path.rstrip(), name
6059

6160

6261
def _find_xml_generator_for_python_greater_equals_33(name):

0 commit comments

Comments
 (0)