From 1fea5f7cdafc4ee65b85e1982b656310e66aed84 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 1 May 2009 23:56:09 +0100 Subject: [PATCH] ContentAssociations -> ContentAssociation Signed-off-by: Mark Hymers --- daklib/dbconn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 5a7dc52d..f1a23c51 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -230,7 +230,7 @@ class ContentFilepath(object): def __repr__(self): return '' % self.filepath -class ContentAssociations(object): +class ContentAssociation(object): def __init__(self, *args, **kwargs): pass @@ -643,7 +643,7 @@ class DBConn(Singleton): mapper(DBConfig, self.tbl_config, properties = dict(config_id = self.tbl_config.c.id)) - mapper(ContentAssociations, self.tbl_content_associations, + mapper(ContentAssociation, self.tbl_content_associations, properties = dict(ca_id = self.tbl_content_associations.c.id, filename_id = self.tbl_content_associations.c.filename, filename = relation(ContentFilename), -- 2.39.5