Change internal function variable 'vars' in _is_allowed() to use

_underscore(remove_prefix=True) option.
feature/documentation-builds-dirhtml
Isis Lovecruft 2013-03-07 04:08:01 +00:00 committed by Isis Lovecruft
parent 1144d79a25
commit 0312e32231
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,7 @@ def _is_allowed(input):
""").split()
## these are all the options that GPG knows:
vars = frozenset([x.lstrip('-').replace('-', '_') for x in _possible])
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