avoid printing internal loop and loop_args

This commit is contained in:
Brian Coca 2016-02-25 19:58:27 -05:00
parent e60fef4dbe
commit 3e28ee0fd4

View file

@ -13,7 +13,9 @@ Note that not all directives affect the object itself and might just be there to
{{ name }}
{{ '-' * name|length }}
{% for attribute in oblist[name].__dict__['_attributes']|sort %}
{% if attribute not in ['loop', 'loop_args'] %}
* {{ attribute }}
{% endif %}
{% endfor %}
{% endfor %}