example: groups

* Added a docstring.
This commit is contained in:
Ben McGinnes 2018-03-22 04:04:05 +11:00
parent ad6cb4f9b8
commit a4e3f82765

View File

@ -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)):