[Git][security-tracker-team/security-tracker][master] security_db: Make source code comment independent of codename for distribution
Salvatore Bonaccorso
carnil at debian.org
Sun Apr 28 18:21:01 BST 2019
Salvatore Bonaccorso pushed to branch master at Debian Security Tracker / security-tracker
Commits:
7748b6ad by Salvatore Bonaccorso at 2019-04-28T17:19:38Z
security_db: Make source code comment independent of codename for distribution
- - - - -
1 changed file:
- lib/python/security_db.py
Changes:
=====================================
lib/python/security_db.py
=====================================
@@ -563,7 +563,7 @@ class DB:
self.db.createscalarfunction("urgency_to_number", urgency_to_number, 1)
def releasepart_to_number(r):
- # expects a string in the form "wheezy (security)"
+ # expects a string in the form "codename (security)"
try:
u=r.split()[0]
return release_to_number(u)
@@ -572,7 +572,7 @@ class DB:
self.db.createscalarfunction("releasepart_to_number", releasepart_to_number, 1)
def subreleasepart_to_number(r):
- # expects a string in the form "wheezy (security)"
+ # expects a string in the form "codename (security)"
try:
if not "(" in r:
return 0
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/commit/7748b6ad5d75f74d7be69faf9baf80702c224b5f
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/commit/7748b6ad5d75f74d7be69faf9baf80702c224b5f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20190428/3f29b0c4/attachment.html>
More information about the debian-security-tracker-commits
mailing list