[Secure-testing-commits] r2064 - lib/python
Florian Weimer
fw at costa.debian.org
Wed Sep 21 07:27:31 UTC 2005
Author: fw
Date: 2005-09-21 07:27:30 +0000 (Wed, 21 Sep 2005)
New Revision: 2064
Modified:
lib/python/security_db.py
Log:
lib/python/security_db.py (DB):
Remove the unused nicknames table and attribute. (No schema version
bump is required because a table is removed, and no other changes
are being made.)
Modified: lib/python/security_db.py
===================================================================
--- lib/python/security_db.py 2005-09-21 06:38:05 UTC (rev 2063)
+++ lib/python/security_db.py 2005-09-21 07:27:30 UTC (rev 2064)
@@ -92,9 +92,6 @@
def __init__(self, name, verbose=False):
self.db = apsw.Connection(name)
self.verbose = verbose
- self.nicknames = {'etch': 'testing',
- 'sarge' : 'stable',
- 'woody': 'oldstable'}
self.schema_version = 8
@@ -157,13 +154,6 @@
inodeprint TEXT NOT NULL,
parsed BLOB)""")
- cursor.execute(
- """CREATE TABLE nicknames
- (realname TEXT NOT NULL,
- nickname TEXT NOT NULL)""")
- cursor.executemany("INSERT INTO nicknames VALUES (?, ?)",
- self.nicknames.items())
-
cursor.execute("""CREATE TABLE version_linear_order
(id INTEGER NOT NULL PRIMARY KEY,
version TEXT NOT NULL UNIQUE)""")
More information about the Secure-testing-commits
mailing list