Update docstring for GPG.list_keys().

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-05-21 13:03:58 +00:00
parent 60b97938f4
commit 1b95e254d7
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 5 additions and 0 deletions

View File

@ -999,6 +999,11 @@ use_agent: %s
def list_keys(self, secret=False):
"""List the keys currently in the keyring.
The GnuPG option '--show-photos', according to the GnuPG manual, "does
not work with --with-colons", but since we can't rely on all versions
of GnuPG to explicitly handle this correctly, we should probably
include it in the args.
>>> import shutil
>>> shutil.rmtree("keys")
>>> gpg = GPG(homedir="keys")