Fix log path

This commit is contained in:
Joshua Hesketh 2013-09-27 14:52:35 +10:00
parent a82418d1a7
commit 0b3fe58866
2 changed files with 3 additions and 2 deletions

View File

@ -214,7 +214,8 @@ def local_push_file(job_log_dir, file_path, local_config):
dest_file = os.path.join(dest_dir, dest_filename)
shutil.copyfile(file_path, dest_file)
return local_config['prepend_url'] + os.path.join(dest_dir, dest_filename)
return local_config['prepend_url'] + os.path.join(job_log_dir,
dest_filename)
def scp_push_file(job_log_dir, file_path, local_config):

View File

@ -264,7 +264,7 @@ class Runner(threading.Thread):
'unique_id': self.job.unique,
'job_working_dir': os.path.join(
self.global_config['jobs_working_dir'],
self.job.unique
dataset['determined_path']
),
'git_path': self.git_path,
'dbuser': dataset['config']['db_user'],