Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #294

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix typo #294

wants to merge 1 commit into from

Conversation

felipediel
Copy link

Traceback (most recent call last):
  File "<redacted>", line 73, in setUpClass
    cls.gpg = gnupg.GPG(homedir=cls.gpg_home, options=gpg_options)
  File "/virtualenv/lib/python2.7/site-packages/gnupg/gnupg.py", line 125, in __init__
    ignore_homedir_permissions=ignore_homedir_permissions,
  File "/virtualenv/lib/python2.7/site-packages/gnupg/_meta.py", line 188, in __init__
    self.options = list(_parsers._sanitise_list(options)) if options else None
  File "/virtualenv/lib/python2.7/site-packages/gnupg/_parsers.py", line 472, in _sanitise_list
    safe_arg = _sanitise(arg)
  File "/virtualenv/lib/python2.7/site-packages/gnupg/_parsers.py", line 454, in _sanitise
    checked = _check_groups(option_groups)
  File "/virtualenv/lib/python2.7/site-packages/gnupg/_parsers.py", line 426, in _check_groups
    safe = _check_option(a, v)
  File "/virtualenv/lib/python2.7/site-packages/gnupg/_parsers.py", line 377, in _check_option
    legit_modes = _check_preferences(val, 'pinentry')
  File "/virtualenv/lib/python2.7/site-packages/gnupg/_parsers.py", line 104, in _check_preferences
    log.error("parsers._check_preferences(): %s" % message)
NameError: global name 'message' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant