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 }}
{{ '-' * name|length }} {{ '-' * name|length }}
{% for attribute in oblist[name].__dict__['_attributes']|sort %} {% for attribute in oblist[name].__dict__['_attributes']|sort %}
{% if attribute not in ['loop', 'loop_args'] %}
* {{ attribute }} * {{ attribute }}
{% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}