python-gnupg/gnupg
Isis Lovecruft 69cc991938
Fix bug in determining behaviours for those using GnuPG2 binaries.
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.
2014-09-24 22:13:25 +00:00
..
test Merge remote-tracking branch 'anarcat/dev/monkeysign' into develop 2014-09-24 21:12:05 +00:00
__init__.py fix sphinx errors&warnings; some pep8 2013-10-14 01:24:17 -03:00
_ansistrm.py Change LICENSE to GPLv3+, after discussion with intrigeri. 2013-07-27 19:27:53 +00:00
_logger.py more py2.6 fixes 2014-04-23 14:49:24 +02:00
_meta.py Despite what GnuPG says it expects, it actually expects `--debug-level=`. 2014-09-24 22:12:20 +00:00
_parsers.py fix truth evaluation of import results 2014-08-29 21:10:48 -07:00
_trust.py WIP fixing serveral Python 3 tests for #16 2014-03-30 19:53:45 -04:00
_util.py Merge branch 'master' of github.com:isislovecruft/python-gnupg 2014-06-14 19:39:07 -04:00
_version.py Move source files to directory named for top-level package. 2013-06-03 21:16:19 +00:00
copyleft.py Change LICENSE to GPLv3+, after discussion with intrigeri. 2013-07-27 19:27:53 +00:00
gnupg.py Fix bug in determining behaviours for those using GnuPG2 binaries. 2014-09-24 22:13:25 +00:00