bugfix for replace() globbing in _in

This commit is contained in:
Will Woods 2011-05-31 12:23:04 -04:00
parent 44583cd581
commit 303db540f1

View File

@ -265,7 +265,7 @@ class TemplateRunner(object):
def replace(self, pat, repl, *fileglobs):
for g in fileglobs:
for f in _glob(self._in(g)):
for f in _glob(self._out(g)):
replace(f, pat, repl)
def append(self, filename, data):