[dak/master] Drop class SrcAssociation.
Signed-off-by: Torsten Werner <twerner@debian.org>
---
daklib/dbconn.py | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/daklib/dbconn.py b/daklib/dbconn.py
index 9ace924..30aa7aa 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 '<SrcAssociation %s (%s, %s)>' % (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))
--
1.5.6.5
Reply to: