Merge pull request #1149 from dhozac/non-greedy-filepipe

Complete the change from $FILE{} to $FILE()
pull/1140/merge
Michael DeHaan 12 years ago
commit 1fd5de21d2

@ -321,7 +321,7 @@ def varReplace(raw, vars, depth=0):
return ''.join(done) return ''.join(done)
_FILEPIPECRE = re.compile(r"\$(?P<special>FILE|PIPE)\(([^\}]+)\)") _FILEPIPECRE = re.compile(r"\$(?P<special>FILE|PIPE)\(([^\)]+)\)")
def varReplaceFilesAndPipes(basedir, raw): def varReplaceFilesAndPipes(basedir, raw):
done = [] # Completed chunks to return done = [] # Completed chunks to return

Loading…
Cancel
Save