aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla')
m---------src/hydrilla/common_jinja_templates0
-rw-r--r--src/hydrilla/common_jinja_templates.py16
2 files changed, 0 insertions, 16 deletions
diff --git a/src/hydrilla/common_jinja_templates b/src/hydrilla/common_jinja_templates
-Subproject a38750ae1e62af2320069264c30c8693a1a858b
+Subproject 0e8ab5c2735b94166552ce80c18e523357a048a
diff --git a/src/hydrilla/common_jinja_templates.py b/src/hydrilla/common_jinja_templates.py
deleted file mode 100644
index 732db41..0000000
--- a/src/hydrilla/common_jinja_templates.py
+++ /dev/null
@@ -1,16 +0,0 @@
-# SPDX-License-Identifier: CC0-1.0
-
-# Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
-#
-# Available under the terms of Creative Commons Zero v1.0 Universal.
-
-import typing as t
-
-from jinja2 import PackageLoader, ChoiceLoader, BaseLoader
-
-
-def loader() -> BaseLoader:
- return PackageLoader(__package__, package_path='common_jinja_templates')
-
-def combine_with_loaders(loaders: t.Iterable[BaseLoader]) -> BaseLoader:
- return ChoiceLoader([loader(), *loaders])