From bd6fef7b1dd64686a5ac8d0ba1818ace17e115ca Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Fri, 13 Mar 2009 12:05:34 -0400 Subject: [PATCH] wait, some of those weren't prepare Signed-off-by: Mike O'Connor --- dak/contents.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" ) -- 2.39.5