8b906f97 by Marcos Cano

fix engine to template only if matches

1 parent 55b67213
...@@ -61,7 +61,6 @@ def engine(ifile,ofile,vars): ...@@ -61,7 +61,6 @@ def engine(ifile,ofile,vars):
61 #print 'MATCHES:', t.pattern.findall(t.template) 61 #print 'MATCHES:', t.pattern.findall(t.template)
62 62
63 matches = template.pattern.findall(template.template) 63 matches = template.pattern.findall(template.template)
64 print vars
65 64
66 if len(matches): 65 if len(matches):
67 print '[ MATCHES ] - ', matches 66 print '[ MATCHES ] - ', matches
......