[dak/master] Mark Location.archive_type as obsolete.
It needs to be removed through a DB upgrade.
Signed-off-by: Torsten Werner <twerner@debian.org>
---
daklib/dbconn.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/daklib/dbconn.py b/daklib/dbconn.py
index 75e56cd..06b20c3 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,
--
1.5.6.5
Reply to: