[git] GPGME - branch, ben/howto-dita, updated. gpgme-1.11.1-15-g34308fe

by Ben McGinnes cvs at cvs.gnupg.org
Thu May 24 21:33:40 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, ben/howto-dita has been updated
       via  34308fe1fc45cc8ea1f809c54168f418a146f0ca (commit)
      from  dea1ccbc02cafe1c85c8945605d9bb9f46cc5790 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 34308fe1fc45cc8ea1f809c54168f418a146f0ca
Author: Ben McGinnes <ben at adversary.org>
Date:   Fri May 25 05:29:24 2018 +1000

    docs: python bindings howto DITA
    
    * Updated the example code for the groups work around to actually do
      what the documentation said (instead of having all results match
      group_lists).

diff --git a/lang/python/docs/dita/howto/part06/group-lines.dita b/lang/python/docs/dita/howto/part06/group-lines.dita
index 50d63df..f4aca74 100644
--- a/lang/python/docs/dita/howto/part06/group-lines.dita
+++ b/lang/python/docs/dita/howto/part06/group-lines.dita
@@ -22,11 +22,13 @@ for i in range(len(lines)):
 
 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()
 </codeblock>

-----------------------------------------------------------------------

Summary of changes:
 lang/python/docs/dita/howto/part06/group-lines.dita | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list