summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4>2010-08-05 19:57:46 +0000
committerjamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4>2010-08-05 19:57:46 +0000
commit6ccb1746afa260b70a4cee5691ebce8fd10220fd (patch)
tree959c164fc831e87934a355ce33f8471f99e4d3bb
parent77492bde2a4271b320729ceb5ec47b598ffdcd2f (diff)
Fix some table names in tko/parse.py
Signed-off-by: James Ren <jamesren@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@4746 592f7852-d20e-0410-864c-8624ca9c26a4
-rwxr-xr-xtko/parse.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tko/parse.py b/tko/parse.py
index 27d18213..90a75014 100755
--- a/tko/parse.py
+++ b/tko/parse.py
@@ -130,11 +130,11 @@ def parse_one(db, jobname, path, reparse, mail_on_failure):
(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 = [""]