python: Add a nicer interface to list keys.
authorJustus Winter <justus@g10code.com>
Wed, 3 Aug 2016 14:32:30 +0000 (16:32 +0200)
committerJustus Winter <justus@g10code.com>
Wed, 3 Aug 2016 14:32:30 +0000 (16:32 +0200)
commit56e26b54da9f16961209275d7a61883d3ea898ca
treece321c374924d73d9bcc083f4227d558d80734be
parent4c8265d32ddff5960a464b8d4e8d7d2258495b2e
python: Add a nicer interface to list keys.

* lang/python/pyme/core.py (Context.keylist): New method.
* lang/python/tests/t-keylist.py: Test new method.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/python/pyme/core.py
lang/python/tests/t-keylist.py