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 | 36373fbd871561c532cc683617304e803795c6b8 (patch) | |
tree | 2d725176a2e7d10a9728a6970a55ca57849d1df7 /bin/update-db | |
parent | 97f9f5825f66bb03df54584829c4b193c70dee81 (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) |