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
Isis Lovecruft 2013-03-14 12:32:41 +00:00 committed by Isis Lovecruft
parent 260814f939
commit ffe82751b1
1 changed files with 0 additions and 3 deletions

View File

@ -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