[dak/master] wait, some of those weren't prepare
Signed-off-by: Mike O'Connor <stew@vireo.org>
---
dak/contents.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dak/contents.py b/dak/contents.py
index d12440f..36546f5 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" )
--
1.5.6.5
Reply to: