fixup: heh whoops, really fix replace

This commit is contained in:
Will Woods 2011-05-10 15:47:53 -04:00
parent 796659bb29
commit 4c91ef5f53

View File

@ -211,8 +211,8 @@ class TemplateRunner(object):
if not isdir(d):
os.makedirs(d)
def replace(self, pat, repl, *files):
for g in globs:
def replace(self, pat, repl, *fileglobs):
for g in fileglobs:
for f in glob(self._out(f)):
replace(pat, repl, f)