From: Mark Hymers Date: Fri, 1 May 2009 22:56:09 +0000 (+0100) Subject: ContentAssociations -> ContentAssociation X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fea5f7cdafc4ee65b85e1982b656310e66aed84;p=dak ContentAssociations -> ContentAssociation Signed-off-by: Mark Hymers --- 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),