Mercurial > hg > lxmldump
changeset 54:884770576e74
Rename a token.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 27 May 2021 14:28:08 +0300 |
parents | 833606b39e35 |
children | 71e66eca1e23 |
files | lxmldump.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lxmldump.py Thu May 27 14:06:46 2021 +0300 +++ b/lxmldump.py Thu May 27 14:28:08 2021 +0300 @@ -99,8 +99,8 @@ }, "example_fmt": { - PKK_MODE_NORMAL: "{indent}exmp \"{text}\"{geostr}\n", - PKK_MODE_ANKI: " ⚫ \"{text}\"{geostr}", + PKK_MODE_NORMAL: "{indent}exmp \"{text}\"{geo_list}\n", + PKK_MODE_ANKI: " ⚫ \"{text}\"{geo_list}", }, "example_geo_list": { PKK_MODE_NORMAL: " ({alist})", @@ -348,7 +348,7 @@ ostr += pkk_get_fmt("example_fmt").format( text=pkk_node_to_text(wnode.find("./Example")), - geostr=pkk_get_list_str(geolist, "example_geo", False), + geo_list=pkk_get_list_str(geolist, "example_geo", False), indent=pkk_geti(indent + 1)) return ostr