Commit f4decc52 authored by Bernd Gietzelt's avatar Bernd Gietzelt
Browse files

fix no-else-return

parent 392e0a94
Pipeline #527017645 failed with stages
in 1 minute and 19 seconds
......@@ -51,5 +51,4 @@ def strtobool(val):
return 1
if val in ('n', 'no', 'f', 'false', 'off', '0'):
return 0
else:
raise ValueError(f"invalid truth value {(val,)}")
raise ValueError(f"invalid truth value {(val,)}")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment