Remove vars frozenset from _is_allowed() because it is unnecessary.
* Using _allowed and _possible frozensets to store gpg options and flags instead.feature/documentation-builds-dirhtml
parent
260814f939
commit
ffe82751b1
3
gnupg.py
3
gnupg.py
|
@ -792,9 +792,6 @@ def _is_allowed(input):
|
|||
--min-cert-level --yes
|
||||
""").split()
|
||||
|
||||
## these are all the options that GPG knows:
|
||||
vars = frozenset([_underscore(x, remove_prefix=True) for x in _possible])
|
||||
|
||||
## these are the allowed options we will handle so far, all others should
|
||||
## be dropped. this dance is so that when new options are added later, we
|
||||
## merely add the to the _allowed list, and the ``assert
|
||||
|
|
Loading…
Reference in New Issue