diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2019-11-27 14:26:32 +0100 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-02-26 12:31:30 +0100 |
commit | 06a39ee3fe8e03bf6a080dd659260507ef3a0318 (patch) | |
tree | 875f2dc24f711bf64d12af1b65f970a73a26101c /lib | |
parent | 27c7e2201930b078e38a76ce59fd9630aae630c1 (diff) |
security_db: don't hardcode release codenames in calculateDebsecan
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/security_db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py index a66ab1fbab..b929320c6b 100644 --- a/lib/python/security_db.py +++ b/lib/python/security_db.py @@ -1747,7 +1747,7 @@ class DB: def calculateDebsecan(self): """Calculate all debsecan data.""" - for release in ('sid', 'jessie', 'stretch', 'buster', 'bullseye'): + for release in config.get_supported_releases(): self.calculateDebsecan0(release) self.calculateDebsecan1() |