aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/groups.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-03-21 18:07:56 +0000
committerBen McGinnes <[email protected]>2018-03-21 18:07:56 +0000
commit6c6af9a7b0ae4e7182d669bec282c6edaaa7eaa1 (patch)
tree622510986ae19e380c265291f0ccb8ddb87abb07 /lang/python/examples/howto/groups.py
parentexample: groups (diff)
downloadgpgme-6c6af9a7b0ae4e7182d669bec282c6edaaa7eaa1.tar.gz
gpgme-6c6af9a7b0ae4e7182d669bec282c6edaaa7eaa1.zip
example groups work around
* Updated usage so it only references importing the final list of lists produced. Trying to use some of the mid-points can have unpredictable results (this is part of the problem with work arounds).
Diffstat (limited to 'lang/python/examples/howto/groups.py')
-rw-r--r--lang/python/examples/howto/groups.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/examples/howto/groups.py b/lang/python/examples/howto/groups.py
index e7adc440..5e7fdf60 100644
--- a/lang/python/examples/howto/groups.py
+++ b/lang/python/examples/howto/groups.py
@@ -28,7 +28,7 @@ import subprocess
"""
Intended for use with other scripts.
-Usage: from groups import group_lines, group_lists
+Usage: from groups import group_lists
"""
lines = subprocess.getoutput("gpgconf --list-options gpg").splitlines()