This bug caused some extra behaviours which should only be invoked if the user is using a gpg2 binary. It was caused by checking: if _util._is_gpg2: which is always true, since `_util._is_gpg2` is a function which isn't being called in this case, i.e.: >>> def foo(): return False >>> bool(foo) True So instead this should be changed to actually call `_util._is_gpg2()`, by using `gnupg.GPG.is_gpg2()` which will automatically pass in the detected binary version number. |
||
---|---|---|
.. | ||
test | ||
__init__.py | ||
_ansistrm.py | ||
_logger.py | ||
_meta.py | ||
_parsers.py | ||
_trust.py | ||
_util.py | ||
_version.py | ||
copyleft.py | ||
gnupg.py |