aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/src/errors.py
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2018-11-28 06:51:24 +0000
committerDaniel Kahn Gillmor <[email protected]>2018-12-04 23:40:24 +0000
commit30ddb2cabcd6e24eaa7f73d1ec099ddff5e41646 (patch)
treef02d72fc77c0d6ec43bf77a6184f3365b8ee8238 /lang/python/src/errors.py
parentpython: clarify documentation for verify argument for Context.decrypt() (diff)
downloadgpgme-30ddb2cabcd6e24eaa7f73d1ec099ddff5e41646.tar.gz
gpgme-30ddb2cabcd6e24eaa7f73d1ec099ddff5e41646.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/errors.py')
0 files changed, 0 insertions, 0 deletions