]> err.no Git - dak/commitdiff
Fix error in SQLA mapper setup
authorFrank Lichtenheld <djpig@debian.org>
Fri, 30 Oct 2009 22:54:12 +0000 (22:54 +0000)
committerFrank Lichtenheld <djpig@debian.org>
Fri, 30 Oct 2009 23:12:31 +0000 (23:12 +0000)
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
daklib/dbconn.py

index d8dfe9c176362f4ba64e2fc023aa7f0831378bc6..9e5afec7444cb36dfbbfc6632e38a4c91ecaf84f 100755 (executable)
@@ -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,