diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2019-04-28 19:19:38 +0200 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2019-04-28 19:19:38 +0200 |
commit | d86dfc28f734914c3c2bbff192a1fecc8a1ddf6c (patch) | |
tree | c835e8baf04d55f03db3576460e84239618d757c /lib | |
parent | 7fab56d69c072669939c89cd0945bf91196d21a5 (diff) |
security_db: Make source code comment independent of codename for distribution
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/security_db.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |