diff options
author | Sebastien Delafond <seb@debian.org> | 2017-08-10 21:07:00 +0000 |
---|---|---|
committer | Sebastien Delafond <seb@debian.org> | 2017-08-10 21:07:00 +0000 |
commit | 940e46b5cfbab19692334777e4f47103c6b85c49 (patch) | |
tree | 1928fa3eaa822ea0c02e18b48ec64c536d98e5e3 /lib | |
parent | d12acbc0e905448ecb0a030790debffaae4213d5 (diff) |
Expose "ignored" & "postponed" no-dsa sub-states to the web UI
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@54581 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/security_db.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py index f36ee49657..d059f3e7d1 100644 --- a/lib/python/security_db.py +++ b/lib/python/security_db.py @@ -121,7 +121,7 @@ BugForSourcePackage = namedtuple( # The reason field holds no-dsa substates, which can be ignored/postponed BugForSourcePackageRelease = namedtuple( "BugForSourcePackageRelease", - "release subrelease version vulnerable state reason") + "release subrelease version vulnerable state comment reason") # Internally used by getBugsForSourcePackage(). BugsForSourcePackage_internal = namedtuple( @@ -195,7 +195,7 @@ def getBugsForSourcePackage(cursor, pkg): bug = BugForSourcePackageRelease( best_row.release, best_row.subrelease, best_row.version, - best_row.vulnerable, state, reason) + best_row.vulnerable, state, comment, reason) releases[best_row.release] = bug # Compute global_state. |