diff --git a/tools/daca2.py b/tools/daca2.py
index e8b6714b3..545071b68 100644
--- a/tools/daca2.py
+++ b/tools/daca2.py
@@ -27,6 +27,26 @@ def removeAllExceptResults():
elif filename != 'results.txt':
os.remove(filename)
+def generatereport(allfolders):
+ filename = os.path.expanduser('~/daca2/daca2.html')
+ f = open(filename, 'wt')
+ f.write('\n')
+ f.write('
\n')
+ f.write('DACA2
\n')
+
+ f.write('All folders
\n');
+ for folder in allfolders:
+ results = os.path.expanduser('~/daca2/' + folder + '/results.txt')
+ if os.path.isfile(results):
+ f.write(''+folder+'
\n')
+ else:
+ f.write(folder + '
\n')
+ f.write('\n')
+ f.write('\n')
+ f.close()
+
+
+
workdir = os.path.expanduser('~/daca2/')
print('~/daca2/suppressions.txt')
@@ -94,3 +114,5 @@ for package in packages:
# remove all files/folders except results.txt
removeAllExceptResults()
+
+generatereport(f.nlst(FTPPATH))