From d5bb5d6b7786570a907e84a93c660a44820b0482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 24 Nov 2013 10:50:16 +0100 Subject: [PATCH] daca2: Change date field to date when analysis ends. --- tools/daca2.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/daca2.py b/tools/daca2.py index a91526d5a..ade80255b 100644 --- a/tools/daca2.py +++ b/tools/daca2.py @@ -203,7 +203,7 @@ os.chdir(workdir + FOLDER) try: results = open('results.txt', 'wt') - results.write('DATE ' + str(datetime.date.today()) + '\n') + results.write('STARTDATE ' + str(datetime.date.today()) + '\n') if REV: results.write('GIT-REVISION ' + REV + '\n') results.write('\n') @@ -212,6 +212,10 @@ try: for archive in archives: scanarchive(archive) + results = open('results.txt', 'at') + results.write('DATE ' + str(datetime.date.today()) + '\n') + results.close() + except EOFError: pass