mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
VALID_ACTIONS for cli subcommands will now be a frozenset (#50058)
This commit is contained in:
committed by
Jordan Borean
parent
545edc9114
commit
fcd1486b51
@@ -96,7 +96,7 @@ class InvalidOptsParser(SortedOptParser):
|
||||
class CLI(with_metaclass(ABCMeta, object)):
|
||||
''' code behind bin/ansible* programs '''
|
||||
|
||||
VALID_ACTIONS = []
|
||||
VALID_ACTIONS = frozenset()
|
||||
|
||||
_ITALIC = re.compile(r"I\(([^)]+)\)")
|
||||
_BOLD = re.compile(r"B\(([^)]+)\)")
|
||||
|
||||
Reference in New Issue
Block a user