forked from root/threadr.lostcave.ddnss.de
moved a print statement
parent
ffd284e7dc
commit
3ae5e5796e
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue