• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xenserver-next / xen-api
69%
feature/py3: 78%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: feature/py3
Repo Added 26 Jun 2024 09:16PM UTC
Token 0SVHGq9E83amecvYXSjK5RhZgEBcaPFC9 regen
Build 375 Last
Files 38
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH XenAPIPlugin.py-ditch-superflous-raise-SystemExit
branch: XenAPIPlugin.py-ditch-superflous-raise-SystemExit
CHANGE BRANCH
x
Reset
Sync Branches
  • XenAPIPlugin.py-ditch-superflous-raise-SystemExit
  • CI-merge-master-coveralls-simplify-future-merges
  • Fix-Site.BaseURL-links-use-relative-internal-links-instead
  • Hugo-docs-updates-to-Relearn-6.4.0-an-newer-Hugo
  • backup-sr-metadata-2to3-and-warningfixes
  • cleanup-docs-fix-a-few-typos
  • codecov-fallback
  • coveralls-finish-parallel-upload
  • delete-obsolete-ocaml/idl/ocaml_backend/python
  • docs-add-NUMA-infos
  • docs-add-possibility-to-preview-in-clone
  • docs-fix-a-few-spelling-omissions
  • docs-fix-spelling-ommit-to-omit
  • docs-invert-images-in-dark-modes
  • docs-support-hugo-previews-of-PRs-on-gh-pages
  • docs-update-README-and-hugo-relearn-to-5.23
  • docs-update-VM.start-xenguest-calls
  • docs-update-to-upstream-Hugo-Relearn-7.3.2
  • extauth-ad-fix-byte-logging-found-by-mypy
  • extauth-hook-AD-cleanup-per-method-pylint-comments
  • extauth-hook-AD-delete-obsolete-PBIS
  • extauth-hook-AD-fix-missing-abc-metaclass
  • extauth-hook-AD-modernize-import-and-import-mocking
  • extauth-hook-ad-fix-checker-warnings
  • feature/py3
  • fix-pytype-remove-unused-get_words-and-test-it
  • fix-spelling-and-typos-in-python3
  • fix-xenopsd-passing-two-args-to-append
  • master
  • merge-master-into-py3-for-coveralls
  • mv-and-fix-test_mail_alarm-py3
  • private/ashwin/CP-49906
  • private/linl/dev
  • py3-cleanup-unused-imports
  • py3-covert-tests-to-use-unittest.mock
  • py3-improve-mypy-configuration-usability
  • py3-merge-master-fix-opam-install
  • py3-merge-master-to-fix-opam
  • py3-scripts/generate-iscsi-iqn
  • py3_pytest_rrdd_api_data_update
  • py3_test_rrdd_api_data_update
  • pytest-update-paths-and-pyright
  • remove-legacy-SMAPIv3-API
  • storage-api-cleanup-string-checks
  • storage-api-cleanup-string-checks-with-coverage
  • storage-api-cleanup-string-checks-with-test-coverage
  • storage-api-cover-datapath_dispatcher
  • storage-api-test-datapath_dispatcher
  • storage-api-unfold-very-long-line
  • storage-api-use-not-is_long
  • storage-api-use-str-not-in-args
  • test_rrdd_api_data_update
  • update-endcover-to-v2
  • update-endcover-to-v2.1
  • when-only-Hugo-docs-change-full-Xapi-CI-is-not-needed
  • xe-reset-networking-covert-tabs-to-spaces
  • xenopsd-remove-orphaned-qemu-vif-script

10 Jul 2024 10:48AM UTC coverage: 69.004%. Remained the same
9872818486

push

github

bernhardkaindl
XenAPIPlugin.py: Remove the superflous catch & raise of SystemExit

In `XenAPIPlugin.py`'s `dispatch()` function, SystemExit does not need to be
caught and raised because both other exceptions are subclasses of Exception:

By design, SystemExit is a subclass of BaseException and because we
are not catching BaseException and also not use a bare `except:`
here, we can cleanup catching and re-raising `SystemExit()` here.

Reference: https://docs.python.org/3/library/exceptions.html#SystemExit

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>

2785 of 4036 relevant lines covered (69.0%)

0.69 hits per line

Relevant lines Covered
Build:
Build:
4036 RELEVANT LINES 2785 COVERED LINES
0.69 HITS PER LINE
Source Files on XenAPIPlugin.py-ditch-superflous-raise-SystemExit
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
9872818486 XenAPIPlugin.py-ditch-superflous-raise-SystemExit XenAPIPlugin.py: Remove the superflous catch & raise of SystemExit In `XenAPIPlugin.py`'s `dispatch()` function, SystemExit does not need to be caught and raised because both other exceptions are subclasses of Exception: By design, SystemExit is... push 10 Jul 2024 10:50AM UTC bernhardkaindl github
69.0
9872686984 XenAPIPlugin.py-ditch-superflous-raise-SystemExit XenAPIPlugin.py: Ditch the superflous catch & raise of SystemExit In `XenAPIPlugin.py`'s `dispatch()` function, SystemExit does not need to be caught and raised because both other exceptions are subclasses of Exception: By design, SystemExit is ... push 10 Jul 2024 10:39AM UTC bernhardkaindl github
69.0
9872598660 XenAPIPlugin.py-ditch-superflous-raise-SystemExit XenAPIPlugin.py: Ditch the superflous catch & raise of SystemExit In the dispatch() function, SystemExit does not need to be caught and raised because both other exceptions are subclasses of Exception: SystemExit is intentionally a subclass of B... push 10 Jul 2024 10:33AM UTC bernhardkaindl github
69.0
9862868848 XenAPIPlugin.py-ditch-superflous-raise-SystemExit XenAPIPlugin.py: Ditch the superflous catch & raise of SystemExit push 09 Jul 2024 07:14PM UTC bernhardkaindl github
69.0
See All Builds (324)

Badge your Repo: xen-api

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc