From: Frank Lichtenheld Date: Fri, 30 Oct 2009 22:54:12 +0000 (+0000) Subject: Fix error in SQLA mapper setup X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=939175a83cf5632090fc778fbd1ad98baab4101d;p=dak Fix error in SQLA mapper setup Signed-off-by: Frank Lichtenheld --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index d8dfe9c1..9e5afec7 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -2375,7 +2375,7 @@ class DBConn(Singleton): files = relation(KnownChangePendingFile, backref="changesfile"))) mapper(KnownChangePendingFile, self.tbl_changes_pending_files, - properties = dict(known_change_pending_file_id = self.tbl_changes_pending_files.id)) + properties = dict(known_change_pending_file_id = self.tbl_changes_pending_files.c.id)) mapper(KeyringACLMap, self.tbl_keyring_acl_map, properties = dict(keyring_acl_map_id = self.tbl_keyring_acl_map.c.id,