diff options
Diffstat (limited to 'lang/python/docs/GPGMEpythonHOWTOen.org')
-rw-r--r-- | lang/python/docs/GPGMEpythonHOWTOen.org | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lang/python/docs/GPGMEpythonHOWTOen.org b/lang/python/docs/GPGMEpythonHOWTOen.org index d7a1891f..c9397bcf 100644 --- a/lang/python/docs/GPGMEpythonHOWTOen.org +++ b/lang/python/docs/GPGMEpythonHOWTOen.org @@ -1348,15 +1348,17 @@ if lines[i].startswith("group") is True: line = lines[i] else: - pass + pass groups = line.split(":")[-1].replace('"', '').split(',') - group_lines = groups - for i in range(len(group_lines)): - group_lines[i] = group_lines[i].split("=") + group_lines = [] + group_lists = [] + + for i in range(len(groups)): + group_lines.append(groups[i].split("=")) + group_lists.append(groups[i].split("=")) - group_lists = group_lines for i in range(len(group_lists)): group_lists[i][1] = group_lists[i][1].split() #+end_src |