Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions ifex/output_filters/JinjaSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typing import Dict, Any

# Exception:
class GeneratorError(BaseException):
class GeneratorError(Exception):
def __init__(self, m):
self.msg = m

Expand Down Expand Up @@ -145,8 +145,6 @@ def render_node(self, node):
else:
return template.render({"item" : node})

return None


# wrapper over jinja2 to export environment.
def set_template_env(self, **kwargs):
Expand Down