From 48fc809473bac1a5fba47b03a62f37d1fe9b571e Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Mon, 17 Jan 2011 20:18:57 +0100 Subject: [PATCH] DBSource: drop property srcassociations. ... in favour of new property suites. Signed-off-by: Torsten Werner --- daklib/dbconn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.5