fix engine to template only if matches
Showing
1 changed file
with
0 additions
and
1 deletions
| ... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment