Commit 2aaa8e7
committed
Normalize max_severity casing to match the lowercased severity filter
Addresses the remaining review note: the severity filter/sort lowercases before comparing, so store the lowercased value in max_severity (and the description) too — correct even if pyatr emits mixed-case severities.1 parent 63f033c commit 2aaa8e7
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
135 | | - | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
0 commit comments