have init-series ignore the old cycle-highlights
Change-Id: I06d40d5aae440aff5a22abe550fc362fd9f71474 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
51030d055d
commit
ba0ae52458
@ -19,6 +19,13 @@ import openstack_releases
|
||||
from openstack_releases import deliverable
|
||||
from openstack_releases import yamlutils
|
||||
|
||||
IGNORE = [
|
||||
'releases',
|
||||
'branches',
|
||||
'release-notes',
|
||||
'cycle-highlights',
|
||||
]
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
@ -66,7 +73,7 @@ def main():
|
||||
# Clean up some series-specific data that should not be copied
|
||||
# over.
|
||||
raw_data = deliv.data
|
||||
for key in ['releases', 'branches', 'release-notes']:
|
||||
for key in IGNORE:
|
||||
if key in raw_data:
|
||||
del raw_data[key]
|
||||
outfilename = os.path.join(outdir, deliv.name + '.yaml')
|
||||
|
Loading…
Reference in New Issue
Block a user