diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2005-09-22 12:00:31 +0000 |
---|---|---|
committer | Florian Weimer <fw@deneb.enyo.de> | 2005-09-22 12:00:31 +0000 |
commit | 60dcb4748f9b67b20d3384603867a78486ce4e96 (patch) | |
tree | 2ebfb33e3ba54cc9e9ece9810ae7ea66acab1025 /bin/update-db | |
parent | 2bf40cd5c9a707627b4458a7cf96fefa82a428d5 (diff) |
lib/python/security_db.py (DB.initSchema):
Add removed_packages table.
(DB.readRemovedPackages, DB.getUnknownPackages):
New.
bin/update-db:
Read removed packages.
data/packages/removed-packages:
New file.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@2088 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/update-db')
-rwxr-xr-x | bin/update-db | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update-db b/bin/update-db index 0c732cd4cb..b990ce8430 100755 --- a/bin/update-db +++ b/bin/update-db @@ -57,6 +57,10 @@ if new_file: db.commit(cursor) cursor = db.writeTxn() +# Removed packages + +db.readRemovedPackages(cursor, 'data/packages/removed-packages') + # Calculate vulnerability information. warnings = db.calculateVulnerabilities(cursor) |