From ffe82751b148689d125aebb798fc7a7adf55628c Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Thu, 14 Mar 2013 12:32:41 +0000 Subject: [PATCH] Remove vars frozenset from _is_allowed() because it is unnecessary. * Using _allowed and _possible frozensets to store gpg options and flags instead. --- gnupg.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gnupg.py b/gnupg.py index b09d636..b672556 100644 --- a/gnupg.py +++ b/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