From 4c91ef5f53f299ff3e8c0080f79a2380756f3e1f Mon Sep 17 00:00:00 2001 From: Will Woods Date: Tue, 10 May 2011 15:47:53 -0400 Subject: [PATCH] fixup: heh whoops, really fix replace --- src/pylorax/treebuilder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py index ed71d70c..f0facff4 100644 --- a/src/pylorax/treebuilder.py +++ b/src/pylorax/treebuilder.py @@ -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)