summaryrefslogtreecommitdiffstats
path: root/contrib/python/Jinja2/examples/hello
diff options
context:
space:
mode:
authormonster <[email protected]>2022-07-07 14:41:37 +0300
committermonster <[email protected]>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/python/Jinja2/examples/hello
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
fix ya.make
Diffstat (limited to 'contrib/python/Jinja2/examples/hello')
-rw-r--r--contrib/python/Jinja2/examples/hello/__init__.py0
-rw-r--r--contrib/python/Jinja2/examples/hello/__main__.py12
-rw-r--r--contrib/python/Jinja2/examples/hello/templates/hello1
3 files changed, 0 insertions, 13 deletions
diff --git a/contrib/python/Jinja2/examples/hello/__init__.py b/contrib/python/Jinja2/examples/hello/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/contrib/python/Jinja2/examples/hello/__init__.py
+++ /dev/null
diff --git a/contrib/python/Jinja2/examples/hello/__main__.py b/contrib/python/Jinja2/examples/hello/__main__.py
deleted file mode 100644
index 51b3d1e3d57..00000000000
--- a/contrib/python/Jinja2/examples/hello/__main__.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import sys
-
-from jinja2 import Environment, PackageLoader
-
-
-env = Environment(
- loader=PackageLoader("hello", "templates"),
-)
-
-username = sys.argv[1] if len(sys.argv) > 1 else "Anonymous"
-
-print(env.get_template("hello").render(username=username))
diff --git a/contrib/python/Jinja2/examples/hello/templates/hello b/contrib/python/Jinja2/examples/hello/templates/hello
deleted file mode 100644
index 73e9e1f5b6e..00000000000
--- a/contrib/python/Jinja2/examples/hello/templates/hello
+++ /dev/null
@@ -1 +0,0 @@
-Hello, {{ username }}!