Skip to content

Commit

Permalink
Merge pull request #5803 from xenserver-next/XenAPIPlugin.py-ditch-su…
Browse files Browse the repository at this point in the history
…perflous-raise-SystemExit
  • Loading branch information
psafont authored Jul 10, 2024
2 parents 8095204 + 4c023d3 commit 3786289
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/examples/python/XenAPIPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ def dispatch(fn_table):
try:
result = fn_table[methodname](x, args)
print(success_message(result))
except SystemExit:
# SystemExit should not be caught, as it is handled elsewhere in the plugin system.
raise
except Failure as e:
print(failure_message(e.params))
except Exception as e:
Expand Down

0 comments on commit 3786289

Please sign in to comment.