Skip to content
Commits on Source (2)
......@@ -178,6 +178,9 @@ class IssueStatus(object):
self.status = status
self.reason = reason
def __str__(self):
return str((self.status, self.reason))
class Issue(object):
'''Status of a security issue'''
......@@ -197,6 +200,9 @@ class Issue(object):
status = 'resolved'
reason = 'fixed in {}'.format(
self.data['releases'][release]['fixed_version'])
elif data.get('nodsa_reason', None) == 'ignored':
status = 'ignored'
reason = 'no-dsa'
elif data['status'] == 'undetermined':
status = 'ignored'
reason = 'undetermined'
......