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)
960
960
961
961
end
962
962
log .log_level (old_log_level )
963
- dt .print_log (" returning ret_val of " .. ret_val )
964
963
return ret_val
965
964
end
966
965
@@ -983,8 +982,7 @@ dtutils_string.libdoc.functions["substitute_list"] = {
983
982
984
983
function dtutils_string .substitute_list (str )
985
984
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 )
988
986
989
987
-- replace the substitution variables in a string
990
988
for match in string.gmatch (str , " %$%(.-%)?%)" ) do
@@ -994,8 +992,6 @@ function dtutils_string.substitute_list(str)
994
992
local treated_var = treat (var )
995
993
log .msg (log .info , " var is " .. var .. " and treated var is " .. tostring (treated_var ))
996
994
997
- dt .print_log (" str is " .. str )
998
-
999
995
str = string.gsub (str , " %$%(" .. dtutils_string .sanitize_lua (var ) .. " %)" , tostring (treated_var ))
1000
996
log .msg (log .info , " str after replacement is " .. str )
1001
997
You can’t perform that action at this time.
0 commit comments