From 3a84fb496df02d3c44e152a710ed13150136e0eb Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Sat, 22 Jan 2011 22:53:49 +0100 Subject: [PATCH] Drop class SrcAssociation. Signed-off-by: Torsten Werner --- daklib/dbconn.py | 18 ------------------ 1 file changed, 18 deletions(-) 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)) -- 2.39.2