Change $FILE{} and $PIPE{} to $FILE() and $PIPE()

This commit is contained in:
Michael DeHaan 2012-09-18 21:34:55 -04:00 committed by Daniel Hokka Zakrisson
parent cc948f339c
commit 4ded8cb3b3
2 changed files with 3 additions and 3 deletions

View file

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