Skip to content

Commit

Permalink
consider review comments
Browse files Browse the repository at this point in the history
as usual, the thanks go to [at]kayoub5.

Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Katja Köhler <[email protected]>
  • Loading branch information
andlaus committed Jan 30, 2024
1 parent 763d003 commit 09af3f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions odxtools/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,10 @@ def start_cli() -> None:

for tool in tool_modules:
if tool._odxtools_tool_name_ == args.subparser_name:
orig_strict = odxtools.exceptions.strict_mode
odxtools.exceptions.strict_mode = not args.no_strict
try:
tool.run(args)
except:
raise
finally:
odxtools.exceptions.strict_mode = False
odxtools.exceptions.strict_mode = orig_strict
return

0 comments on commit 09af3f9

Please sign in to comment.