mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 07:25:53 +03:00
[PR #526] [MERGED] Reduce code complexity #601
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#601
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/retspen/webvirtcloud/pull/526
Author: @Regan-He
Created: 8/22/2022
Status: ✅ Merged
Merged: 8/22/2022
Merged by: @catborise
Base:
master← Head:master📝 Commits (1)
4d78917modify some shell scripts to make variable references safer; modify some python scripts to reduce the code complexity and cyclomatic complexity of functions.📊 Changes
12 files changed (+164 additions, -262 deletions)
View changed files
📝
dev/libvirt-bootstrap.sh(+7 -11)📝
gunicorn.conf.py(+1 -4)📝
vrtManager/IPy.py(+1 -4)📝
vrtManager/create.py(+19 -46)📝
vrtManager/hostdetails.py(+20 -21)📝
vrtManager/interface.py(+32 -42)📝
vrtManager/network.py(+27 -46)📝
vrtManager/nwfilters.py(+1 -4)📝
vrtManager/storage.py(+11 -26)📝
vrtManager/util.py(+18 -24)📝
webvirtcloud/common_tags.py(+5 -13)📝
webvirtcloud/ldapbackend.py(+22 -21)📄 Description
For shell:
For python:
contextlib'ssuppressmethod to silence an errorinoperatorexcept Exception:rather than bareexcept:🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.