diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py index a4eeee23..806ce7cc 100644 --- a/src/pylorax/treebuilder.py +++ b/src/pylorax/treebuilder.py @@ -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):