Mercurial > p > roundup > code
view website/issues/detectors/severityauditor.py @ 6351:0db59cc2cd37
Enable testMultilinkOrdering check. Fix back_anydbm to pass.
The testMultilinkOrdering was commented out with a "some day" comment.
Well some day is today. Works on anydbm and sqlite.
CI will tell me if I need to fix mysql and postgres.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 27 Mar 2021 11:57:02 -0400 |
| parents | 0942fe89e82e |
| children |
line wrap: on
line source
def init_severity(db, cl, nodeid, newvalues): """Make sure severity is set on new issues""" if 'severity' in newvalues and newvalues['severity']: return normal = db.severity.lookup('normal') newvalues['severity'] = normal def init(db): db.issue.audit('create', init_severity)
