Skip to content

Commit

Permalink
group: fixed advisory qualified field not being respected
Browse files Browse the repository at this point in the history
  • Loading branch information
anthraxx committed Dec 23, 2016
1 parent 6930209 commit 13525b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/view/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def add_group():
affected = Affected.fromstring(form.status.data)
status = affected_to_status(affected, pkgnames[0], fixed)
severity = highest_severity([issue.severity for issue in issues])
advisory_qualified = form.advisory_qualified and status is not Status.not_affected
advisory_qualified = form.advisory_qualified.data and status is not Status.not_affected

group = db.create(CVEGroup,
affected=form.affected.data,
Expand Down

0 comments on commit 13525b1

Please sign in to comment.