From 5a8b37be92716a1d9bde21a3d6d196801d7df240 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Tue, 18 Jan 2011 22:11:01 +0100 Subject: [PATCH] Mark Location.archive_type as obsolete. It needs to be removed through a DB upgrade. Signed-off-by: Torsten Werner --- daklib/dbconn.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 75e56cd9..06b20c38 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -3022,6 +3022,8 @@ class DBConn(object): component = relation(Component), archive_id = self.tbl_location.c.archive, archive = relation(Archive), + # FIXME: the 'type' column is old cruft and + # should be removed in the future. archive_type = self.tbl_location.c.type)) mapper(Maintainer, self.tbl_maintainer, -- 2.39.5