Strip trailing white space from $FILE()/$PIPE()
This commit is contained in:
parent
69517832cd
commit
42620d2f19
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ def varReplaceFilesAndPipes(basedir, raw):
|
||||||
|
|
||||||
start, end = m.span()
|
start, end = m.span()
|
||||||
done.append(raw[:start]) # Keep stuff leading up to token
|
done.append(raw[:start]) # Keep stuff leading up to token
|
||||||
done.append(replacement) # Append replacement value
|
done.append(replacement.rstrip()) # Append replacement value
|
||||||
raw = raw[end:] # Continue with remainder of string
|
raw = raw[end:] # Continue with remainder of string
|
||||||
|
|
||||||
return ''.join(done)
|
return ''.join(done)
|
||||||
|
|
Loading…
Reference in a new issue