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 | 7748b6ad5d75f74d7be69faf9baf80702c224b5f (patch) | |
tree | 442998e6d1dbc0df6eee60561c6e01c2c11c801a | |
parent | f26705d41178ce772dabeb29af55efbe487a2adb (diff) |
security_db: Make source code comment independent of codename for distribution
-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 |