Hi
This one works 
>>> e = Environment()
>>> ast = e.parse("{% extends base_page.html %}{% block content %}{{ 
contents }}{% for x in contents %}{{ x }}{% endfor %}{% endblock %}")
>>> meta.find_undeclared_variables(ast)
49: set(['base_page', 'contents'])

If I read the file and store the content and parse it works .:)

Thanks 
Kracekumar

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pocoo-libs/-/8j_L49TmcqIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to