X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/b988d30ee8173f12ff54d7f0228239bacf4c723e..80fa50c87ed121896ddf1bdd993d5697bb5a56c3:/models.py diff --git a/models.py b/models.py index b1da9d0..dcb5d74 100644 --- a/models.py +++ b/models.py @@ -311,7 +311,7 @@ class Template(TreeModel): nodes = [] for node in nodelist: try: - for nodelist_name in ('nodelist', 'nodelist_loop', 'nodelist_empty', 'nodelist_true', 'nodelist_false'): + for nodelist_name in ('nodelist', 'nodelist_loop', 'nodelist_empty', 'nodelist_true', 'nodelist_false', 'nodelist_main'): if hasattr(node, nodelist_name): nodes.extend(nodelist_container_nodes(getattr(node, nodelist_name))) if isinstance(node, ContainerNode):