Refactor generation of CVE number from CVE ID
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Sun, 21 Mar 2021 19:04:26 +0000 (15:04 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Sat, 27 Mar 2021 19:15:31 +0000 (15:15 -0400)
commit62a686f34de9d286be183d4b93f7d599c934a011
treec3ae7eef9fd897806e2b2c28c55183105884fed1
parentb263f705f5ed5b7bd9d338f701cbc3c624899e85
Refactor generation of CVE number from CVE ID

This allows the method to be repurposed in additional parts of
the pgweb codebase.
pgweb/security/models.py