Skip to content

Commit bd55ccd

Browse files
committed
Fix add_vulnerability
1 parent 1119f4d commit bd55ccd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

stix/exploit_target/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ def add_vulnerability(self, value):
7878
ValueError: if the `value` param is of type :class:`.Vulnerability`
7979
8080
"""
81-
self.vul
81+
self.vulnerabilities.append(value)
82+
8283
def add_weakness(self, value):
8384
"""Adds a weakness to the :attr:`weaknesses` list property.
8485

0 commit comments

Comments
 (0)