From: Torsten Werner Date: Sat, 22 Jan 2011 21:53:49 +0000 (+0100) Subject: Drop class SrcAssociation. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=3a84fb496df02d3c44e152a710ed13150136e0eb;p=dak.git Drop class SrcAssociation. Signed-off-by: Torsten Werner --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 9ace9244..30aa7aaa 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -2416,17 +2416,6 @@ __all__.append('SourceACL') ################################################################################ -class SrcAssociation(object): - def __init__(self, *args, **kwargs): - pass - - def __repr__(self): - return '' % (self.sa_id, self.source, self.suite) - -__all__.append('SrcAssociation') - -################################################################################ - class SrcFormat(object): def __init__(self, *args, **kwargs): pass @@ -3059,13 +3048,6 @@ class DBConn(object): mapper(SourceACL, self.tbl_source_acl, properties = dict(source_acl_id = self.tbl_source_acl.c.id)) - mapper(SrcAssociation, self.tbl_src_associations, - properties = dict(sa_id = self.tbl_src_associations.c.id, - suite_id = self.tbl_src_associations.c.suite, - suite = relation(Suite), - source_id = self.tbl_src_associations.c.source, - source = relation(DBSource))) - mapper(SrcFormat, self.tbl_src_format, properties = dict(src_format_id = self.tbl_src_format.c.id, format_name = self.tbl_src_format.c.format_name))