File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -960,7 +960,6 @@ local function treat(var_string)
960960
961961 end
962962 log .log_level (old_log_level )
963- dt .print_log (" returning ret_val of " .. ret_val )
964963 return ret_val
965964end
966965
@@ -983,8 +982,7 @@ dtutils_string.libdoc.functions["substitute_list"] = {
983982
984983function dtutils_string .substitute_list (str )
985984 local old_log_level = log .log_level ()
986- -- log.log_level(dtutils_string.log_level)
987- log .log_level (log .info )
985+ log .log_level (dtutils_string .log_level )
988986
989987 -- replace the substitution variables in a string
990988 for match in string.gmatch (str , " %$%(.-%)?%)" ) do
@@ -994,8 +992,6 @@ function dtutils_string.substitute_list(str)
994992 local treated_var = treat (var )
995993 log .msg (log .info , " var is " .. var .. " and treated var is " .. tostring (treated_var ))
996994
997- dt .print_log (" str is " .. str )
998-
999995 str = string.gsub (str , " %$%(" .. dtutils_string .sanitize_lua (var ) .. " %)" , tostring (treated_var ))
1000996 log .msg (log .info , " str after replacement is " .. str )
1001997
You can’t perform that action at this time.
0 commit comments