Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Test
/
templar-min-old
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8b906f97
authored
2017-02-08 09:52:06 -0600
by
Marcos Cano
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix engine to template only if matches
1 parent
55b67213
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
src/templar.min.py
src/templar.min.py
View file @
8b906f9
...
...
@@ -61,7 +61,6 @@ def engine(ifile,ofile,vars):
#print 'MATCHES:', t.pattern.findall(t.template)
matches
=
template
.
pattern
.
findall
(
template
.
template
)
print
vars
if
len
(
matches
):
print
'[ MATCHES ] - '
,
matches
...
...
Please
register
or
sign in
to post a comment