]> git.decadent.org.uk Git - dak.git/commitdiff
wait, some of those weren't prepare
authorMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 16:05:34 +0000 (12:05 -0400)
committerMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 16:05:34 +0000 (12:05 -0400)
Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/contents.py

index d12440f1e56a6c4a0e4487bb3a2afd9f0a59de79..36546f58d926c795112c3743c957a74b7feeb0c8 100644 (file)
@@ -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" )