Custom projects in owners skips default legacy
When supplying -p/--projects to the owners script for a custom projects list, assume this means not to apply the default legacy projects list. If -l/--legacy is also supplied, the indicated custom legacy projects are still incorporated into the results. Change-Id: I383317c8fdac3f6d8cfa2972326ff9fb9f64ab39
This commit is contained in:
parent
9aec3509aa
commit
9a79f8bdb7
@ -193,6 +193,8 @@ def main(options):
|
||||
# later than the after parameter for the qualifying time period
|
||||
if legacy_file:
|
||||
old_projects = utils.load_yaml(open(legacy_file).read())
|
||||
elif projects_file:
|
||||
old_projects = []
|
||||
else:
|
||||
old_projects = utils.get_from_cgit('openstack/governance',
|
||||
'reference/legacy.yaml',
|
||||
|
Loading…
x
Reference in New Issue
Block a user