Despite what GnuPG says it expects, it actually expects `--debug-level=`.

* FIXES Issue #44:
   https://github.com/isislovecruft/python-gnupg/issues/44
fix/44-verbose-arg
Isis Lovecruft 2014-09-24 22:12:20 +00:00
parent d5fe2d7cc4
commit 5ad99acd7c
No known key found for this signature in database
GPG Key ID: 18C16EC5F9F1D673
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ class GPGBase(object):
if ((isinstance(self.verbose, str) and if ((isinstance(self.verbose, str) and
self.verbose in ['basic', 'advanced', 'expert', 'guru']) self.verbose in ['basic', 'advanced', 'expert', 'guru'])
or (isinstance(self.verbose, int) and (self.verbose>=1))): or (isinstance(self.verbose, int) and (self.verbose>=1))):
cmd.append('--debug-level %s' % self.verbose) cmd.append('--debug-level=%s' % self.verbose)
return cmd return cmd