Skip to content

Commit 5eb2ea4

Browse files
committed
used load_yaml from helpers
Signed-off-by: Tushar912 <tushar.912u@gmail.com>
1 parent b0e9451 commit 5eb2ea4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

vulnerabilities/importers/elixir_security.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from vulnerabilities.data_source import Advisory
3333
from vulnerabilities.data_source import Reference
3434
from vulnerabilities.package_managers import HexVersionAPI
35+
from vulnerabilities.helpers import load_yaml
3536

3637

3738
class ElixirSecurityDataSource(GitDataSource):
@@ -132,8 +133,3 @@ def process_file(self, path):
132133
cve_id=cve_id,
133134
vuln_references=vuln_reference,
134135
)
135-
136-
137-
def load_yaml(path):
138-
with open(path) as f:
139-
return yaml.safe_load(f)

0 commit comments

Comments
 (0)