From: Torsten Werner Date: Mon, 7 Feb 2011 22:07:53 +0000 (+0100) Subject: Convert dbconn.py to db upgrade #41. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=001dcfae0b796b8e592c48fa24da98106270a1a1;p=dak Convert dbconn.py to db upgrade #41. The change is needed for sqlalchemy 0.5. Signed-off-by: Torsten Werner --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 2237099d..f0049a1a 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -2904,8 +2904,8 @@ class DBConn(object): # The following tables have primary keys but sqlalchemy # version 0.5 fails to reflect them correctly with database # versions before upgrade #41. - #'changes', - #'build_queue_files', + 'changes', + 'build_queue_files', ) tables_no_primary = ( @@ -2920,8 +2920,8 @@ class DBConn(object): 'suite_build_queue_copy', 'udeb_contents', # see the comment above - 'changes', - 'build_queue_files', + #'changes', + #'build_queue_files', ) views = (