diff options
author | Ben McGinnes <[email protected]> | 2018-03-21 17:04:05 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-03-21 17:04:05 +0000 |
commit | a4e3f827652c59d850b4e5506a92c1ecd190c1bb (patch) | |
tree | c5c65cddaaeded558f9ebcee456384c5cabe3ea7 | |
parent | example: verify signatures (diff) | |
download | gpgme-a4e3f827652c59d850b4e5506a92c1ecd190c1bb.tar.gz gpgme-a4e3f827652c59d850b4e5506a92c1ecd190c1bb.zip |
example: groups
* Added a docstring.
-rw-r--r-- | lang/python/examples/howto/groups.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python/examples/howto/groups.py b/lang/python/examples/howto/groups.py index 67fd7838..e7adc440 100644 --- a/lang/python/examples/howto/groups.py +++ b/lang/python/examples/howto/groups.py @@ -25,6 +25,12 @@ from __future__ import absolute_import, division, unicode_literals import subprocess +""" +Intended for use with other scripts. + +Usage: from groups import group_lines, group_lists +""" + lines = subprocess.getoutput("gpgconf --list-options gpg").splitlines() for i in range(len(lines)): |