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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: feature/py3
Ran 10 Jul 2024 10:33AM UTC
Jobs 2
Files 34
Run time 1min
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

10 Jul 2024 10:30AM UTC coverage: 69.004%. Remained the same
9872598660

push

github

bernhardkaindl
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 BaseException and because
we are not catching BaseException and also not use a bare `except:`
here, we can cleanup catching and re-raising SystemExit():

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

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 9872598660.1 10 Jul 2024 10:33AM UTC 0
78.89
GitHub Action Run
2 python2.7 - 9872598660.2 10 Jul 2024 10:34AM UTC 0
27.54
GitHub Action Run
Source Files on build 9872598660
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9872598660
  • 9274c4bd on github
  • Prev Build on XenAPIPlugin.py-ditch-superflous-raise-SystemExit (#9862868848)
  • Next Build on XenAPIPlugin.py-ditch-superflous-raise-SystemExit (#9872686984)
  • Delete
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