From 3ae5e5796eebc775ad0f0c468193fe2983fc7c42 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Wed, 8 Apr 2020 03:37:17 +0200 Subject: [PATCH] moved a print statement --- variable_grabbler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variable_grabbler.py b/variable_grabbler.py index 43a9670..3cf5bba 100644 --- a/variable_grabbler.py +++ b/variable_grabbler.py @@ -1,7 +1,7 @@ #!/usr/bin/python2 print """ -Variable Grabbler - version 4.0_pre1 +Variable Grabbler - version 4.0_pre2 ------------------------------------""" ################################################################ # Changes in this version: @@ -71,7 +71,6 @@ for variable in config_values: print "was not found in the file. Skipping command execution." else: replacement = str(config_values[variable]) - print repr(replacement) # look for variable sections that contain question marks argument_positions = [] i = 0 @@ -79,6 +78,7 @@ for variable in config_values: if replacement[i] == '?' and (i==0 or not replacement[i-1]=='\\'): argument_positions = argument_positions + [ i ] i = i+1 + print repr(replacement) print "DEBUG: " + str(argument_positions) replacement = replacement.replace("\\?", "?") file_out = open(sys.argv[1], "w")