From 7748b6ad5d75f74d7be69faf9baf80702c224b5f Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Sun, 28 Apr 2019 19:19:38 +0200 Subject: security_db: Make source code comment independent of codename for distribution --- lib/python/security_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/python/security_db.py b/lib/python/security_db.py index 5b94e74774..e04ccf3774 100644 --- a/lib/python/security_db.py +++ b/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 -- cgit v1.2.3