]> err.no Git - dak/commitdiff
Mark Location.archive_type as obsolete.
authorTorsten Werner <twerner@debian.org>
Tue, 18 Jan 2011 21:11:01 +0000 (22:11 +0100)
committerTorsten Werner <twerner@debian.org>
Tue, 18 Jan 2011 21:11:01 +0000 (22:11 +0100)
It needs to be removed through a DB upgrade.

Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/dbconn.py

index 75e56cd9a9d9d13cc75af5fd1b3472f375ab0d56..06b20c38e61489804185d1dcfb0e9f162e356142 100755 (executable)
@@ -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,