aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/src/util.py
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2018-11-28 06:51:24 +0000
committerAndre Heinecke <[email protected]>2018-12-05 10:46:09 +0000
commitb8fa76a30c02afc3d7f6aad0a59bb613d1b711fc (patch)
treea3440db9deb97421086b2f9d6a4d2dac53d9131e /lang/python/src/util.py
parentpython: clarify documentation for verify argument for Context.decrypt() (diff)
downloadgpgme-b8fa76a30c02afc3d7f6aad0a59bb613d1b711fc.tar.gz
gpgme-b8fa76a30c02afc3d7f6aad0a59bb613d1b711fc.zip
python: gpg.Context.decrypt verify_sigs and sink_result are bools
Both of these function-internal variables are never used for anything other than a binary state. Implement them as the booleans they are. Otherwise, casual readers of the code might think that they're supposed to represent something other than a flag (e.g. "verify_sigs" could mean "the signatures to verify", and "sink_result" could mean "the place where we sink the result"). Signed-Off-By: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'lang/python/src/util.py')
0 files changed, 0 insertions, 0 deletions