mirror of https://github.com/ArduPilot/ardupilot
Tools: scripts: remove dated directories from manifest
This commit is contained in:
parent
71af938a12
commit
4379186333
|
@ -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"]:
|
||||
|
|
Loading…
Reference in New Issue