Skip to content

Move ssvc_calculator to utils.py to avoid code duplication#2048

Closed
suji7724 wants to merge 1 commit intoaboutcode-org:mainfrom
suji7724:fix-ssvc-calculator
Closed

Move ssvc_calculator to utils.py to avoid code duplication#2048
suji7724 wants to merge 1 commit intoaboutcode-org:mainfrom
suji7724:fix-ssvc-calculator

Conversation

@suji7724
Copy link

Moved the 'ssvc_calculator' function from
'v2_importers/vulnrichment_importer.py' to
'vulnerabilities/utils.py' because it is used in multiple places.

Updated imports in the original file. All tests pass.

@keshav-space
Copy link
Member

This has already been addressed in #2050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants