From: Mike O'Connor Date: Fri, 13 Mar 2009 16:05:34 +0000 (-0400) Subject: wait, some of those weren't prepare X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=bd6fef7b1dd64686a5ac8d0ba1818ace17e115ca;hp=-c;p=dak.git wait, some of those weren't prepare Signed-off-by: Mike O'Connor --- bd6fef7b1dd64686a5ac8d0ba1818ace17e115ca diff --git a/dak/contents.py b/dak/contents.py index d12440f1..36546f58 100644 --- a/dak/contents.py +++ b/dak/contents.py @@ -242,9 +242,9 @@ class Contents(object): """ cursor = DBConn().cursor(); cursor.execute( "BEGIN WORK" ) - DBConn().prepare("remove_pending_contents_cruft_q", remove_pending_contents_cruft_q) - DBConn().prepare("remove_filename_cruft_q", remove_filename_cruft_q) - DBConn().prepare("remove_filepath_cruft_q", remove_filepath_cruft_q) + cursor.execute( remove_pending_contents_cruft_q ) + cursor.execute( remove_filename_cruft_q ) + cursor.execute( remove_filepath_cruft_q ) cursor.execute( "COMMIT" )