From: Torsten Werner Date: Mon, 17 Jan 2011 19:18:57 +0000 (+0100) Subject: DBSource: drop property srcassociations. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=48fc809473bac1a5fba47b03a62f37d1fe9b571e;p=dak.git DBSource: drop property srcassociations. ... in favour of new property suites. Signed-off-by: Torsten Werner --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 766efdb4..bfce1f2c 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -3067,8 +3067,8 @@ class DBConn(object): primaryjoin=(self.tbl_source.c.changedby==self.tbl_maintainer.c.id)), srcfiles = relation(DSCFile, primaryjoin=(self.tbl_source.c.id==self.tbl_dsc_files.c.source)), - srcassociations = relation(SrcAssociation, - primaryjoin=(self.tbl_source.c.id==self.tbl_src_associations.c.source)), + suites = relation(Suite, secondary=self.tbl_src_associations, + backref='sources'), srcuploaders = relation(SrcUploader))) mapper(SourceACL, self.tbl_source_acl,