Tools: scripts: remove dated directories from manifest

This commit is contained in:
Peter Barker 2019-03-21 18:49:37 +11:00 committed by Andrew Tridgell
parent 71af938a12
commit 4379186333
1 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,8 @@ class ManifestGenerator():
# skip any non-directories (e.g. "files.html"):
if year_month_regex.match(firstlevel):
# this is a dated directory e.g. binaries/Copter/2016-02
# we do not include dated directories in the manifest ATM:
continue
year_month_path = os.path.join(basedir, vehicletype, firstlevel)
for fulldate in os.listdir(year_month_path):
if fulldate in ["files.html", ".makehtml"]: