Despite what GnuPG says it expects, it actually expects `--debug-level=`.
* FIXES Issue #44: https://github.com/isislovecruft/python-gnupg/issues/44fix/44-verbose-arg
parent
d5fe2d7cc4
commit
5ad99acd7c
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue