From fe148dee47687ad48f32e9859697827771e47c12 Mon Sep 17 00:00:00 2001 From: mbligh Date: Thu, 21 May 2009 01:41:58 +0000 Subject: Send the job dir, not the individual tests, to site_parse Signed-off-by: Rachel Kroll git-svn-id: svn://test.kernel.org/autotest/trunk@3156 592f7852-d20e-0410-864c-8624ca9c26a4 --- tko/parse.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tko/parse.py b/tko/parse.py index a832a36d..67f76a5b 100755 --- a/tko/parse.py +++ b/tko/parse.py @@ -283,12 +283,13 @@ def main(): parse_path(db, path, options.level, options.reparse, options.mailit) - if options.site_do_post is True: - site_post_parse_job(path) - finally: fcntl.flock(lockfile, fcntl.LOCK_UN) lockfile.close() + + if options.site_do_post is True: + site_post_parse_job(results_dir) + except: pid_file_manager.close_file(1) raise -- cgit v1.2.3