fixup: heh whoops, really fix replace
This commit is contained in:
parent
796659bb29
commit
4c91ef5f53
@ -211,8 +211,8 @@ class TemplateRunner(object):
|
|||||||
if not isdir(d):
|
if not isdir(d):
|
||||||
os.makedirs(d)
|
os.makedirs(d)
|
||||||
|
|
||||||
def replace(self, pat, repl, *files):
|
def replace(self, pat, repl, *fileglobs):
|
||||||
for g in globs:
|
for g in fileglobs:
|
||||||
for f in glob(self._out(f)):
|
for f in glob(self._out(f)):
|
||||||
replace(pat, repl, f)
|
replace(pat, repl, f)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user