diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-14 10:15:43 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-14 10:18:43 -0500 |
commit | 2f5f15727457260179c9328d96b6e2980b097f8c (patch) | |
tree | 9c85026f79f0ccce9f2d036758dad6d69940bcf3 /test/pacman/pmdb.py | |
parent | 71fd34e59603e95be79ab3399d9968b89f9df396 (diff) |
Rename and rework signing helper methods
* Don't name static methods with a gpgme_ prefix to avoid confusion with
methods provided by the library. These are static and local to our
file so just give them sane non-prefixed names.
* Rework sigsum_test_bit() to not require assignment.
* Don't balk if there is more than one signature available (for now,
only check the first).
* Fix error codes in publicly visible methods to return -1, not 0, if pkg
or db are not provided.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/pmdb.py')
0 files changed, 0 insertions, 0 deletions