daca2: Change date field to date when analysis ends.

This commit is contained in:
Daniel Marjamäki 2013-11-24 10:50:16 +01:00
parent 02c299405b
commit d5bb5d6b77
1 changed files with 5 additions and 1 deletions

View File

@ -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