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")