From 48566f393ce20e9155da35765711a21b439074a0 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Wed, 20 Feb 2019 15:04:02 +1100 Subject: [PATCH] Add new owners options to the proxy We currently have 2 CLI interfaces for generating change owners. - owners ; and - generate-rolls And we maintain a shim to translate between calling arguments. In I45d6c4d4fd454ae426883006db1e58dbd373bbdf (Support custom local projects and legacy projects) we added --legacy and --projects to owners. This change adds those options to the shim. Change-Id: Ib38f26744e279f1271679ce1d075ad5a4e3ddb27 --- openstack_election/cmds/generate_rolls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openstack_election/cmds/generate_rolls.py b/openstack_election/cmds/generate_rolls.py index 8c7b34e2..ad51222d 100755 --- a/openstack_election/cmds/generate_rolls.py +++ b/openstack_election/cmds/generate_rolls.py @@ -40,6 +40,8 @@ def change_owners_options_proxy(after, before, ref, outdir='./', sieve=None, options.no_extra_atcs = no_extra_atcs options.sieve = sieve + options.legacy = None + options.projects = None return options