changeset 26:420f13925f20

Rename a variable.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 May 2021 11:39:36 +0300
parents 8a6738f67106
children d77ab8a300b1
files lxmldump.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lxmldump.py	Tue May 25 10:58:19 2021 +0300
+++ b/lxmldump.py	Tue May 25 11:39:36 2021 +0300
@@ -89,16 +89,16 @@
 
 
 ## Annotate string
-def pkk_str_annotate(mtag, mtext):
+def pkk_str_annotate(mtag, mstr):
     if pkk_cfg.annotate and mtag in pkk_element_annotation_map:
         if pkk_cfg.mode in pkk_element_annotation_map[mtag]:
             mmode = pkk_cfg.mode
         else:
             mmode = PKK_MODE_NORMAL
 
-        return pkk_element_annotation_map[mtag][mmode][0] + mtext + pkk_element_annotation_map[mtag][mmode][1]
+        return pkk_element_annotation_map[mtag][mmode][0] + mstr + pkk_element_annotation_map[mtag][mmode][1]
     else:
-        return mtext
+        return mstr
 
 
 ## Clean string by removing tabs and newlines