Fix some table names in tko/parse.py
Signed-off-by: James Ren <jamesren@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4746 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/parse.py b/tko/parse.py
index 27d1821..90a7501 100755
--- a/tko/parse.py
+++ b/tko/parse.py
@@ -130,11 +130,11 @@
(test.testname, test.subdir))
for test_idx in old_tests.itervalues():
where = {'test_idx' : test_idx}
- db.delete('iteration_result', where)
- db.delete('iteration_attributes', where)
- db.delete('test_attributes', where)
- db.delete('test_labels_tests', {'test_id': test_idx})
- db.delete('tests', where)
+ db.delete('tko_iteration_result', where)
+ db.delete('tko_iteration_attributes', where)
+ db.delete('tko_test_attributes', where)
+ db.delete('tko_test_labels_tests', {'test_id': test_idx})
+ db.delete('tko_tests', where)
# check for failures
message_lines = [""]