From 5ebec42e6de093b76f890984456ce8ad4449019b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 30 Aug 2016 15:58:58 +0200 Subject: [PATCH] Removed unused, commented-out code --- pillar/web/nodes/routes.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pillar/web/nodes/routes.py b/pillar/web/nodes/routes.py index 0087cfaa..8a219720 100644 --- a/pillar/web/nodes/routes.py +++ b/pillar/web/nodes/routes.py @@ -204,13 +204,6 @@ def view(node_id): template_action = 'view_theatre' template_path = '{0}/{1}_embed.html'.format(template_path, template_action) - # template_path_full = os.path.join(current_app.config['TEMPLATES_PATH'], template_path) - # - # # Check if template exists on the filesystem - # if not os.path.exists(template_path_full): - # log.warning('Template %s does not exist for node type %s', - # template_path, node_type_name) - # raise NotFound("Missing template '{0}'".format(template_path)) try: return render_template(template_path,