From 9d3919aec76fd62aec0a29e1f565396baff72c11 Mon Sep 17 00:00:00 2001 From: Steffen Hauf <haufs@max-exfl015.desy.de> Date: Fri, 8 Jun 2018 13:42:53 +0200 Subject: [PATCH] Clean outdated files --- cal_tools/cal_tools/cal_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cal_tools/cal_tools/cal_tools.py b/cal_tools/cal_tools/cal_tools.py index d3ee7d703..9474d14de 100644 --- a/cal_tools/cal_tools/cal_tools.py +++ b/cal_tools/cal_tools/cal_tools.py @@ -116,7 +116,7 @@ def make_report(run_path, tmp_path, out_path, project, author, version): print(f) shutil.copy(f, out_path) print("Removing temporary files at: {}".format(tmp_path)) - #shutil.rmtree(tmp_path) +# shutil.rmtree(tmp_path) def finalize(joblist, run_path, out_path, project, calibration, author, version): @@ -264,4 +264,4 @@ def get_dir_creation_date(directory, run): creation_time = os.stat("{}/r{:04d}".format(directory, run)).st_ctime creation_time = datetime.datetime.fromtimestamp(creation_time) return(creation_time) - \ No newline at end of file + -- GitLab