aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Jinja2
diff options
context:
space:
mode:
authordvshkurko <dvshkurko@yandex-team.ru>2022-02-10 16:45:51 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:51 +0300
commit321ee9bce31ec6e238be26dbcbe539cffa2c3309 (patch)
tree14407a2757cbf29eb97e266b7f07e851f971000c /contrib/python/Jinja2
parent2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (diff)
downloadydb-321ee9bce31ec6e238be26dbcbe539cffa2c3309.tar.gz
Restoring authorship annotation for <dvshkurko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/Jinja2')
-rw-r--r--contrib/python/Jinja2/py2/jinja2/loaders.py2
-rw-r--r--contrib/python/Jinja2/py3/jinja2/loaders.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/Jinja2/py2/jinja2/loaders.py b/contrib/python/Jinja2/py2/jinja2/loaders.py
index bad1774ab0..2c9798bb57 100644
--- a/contrib/python/Jinja2/py2/jinja2/loaders.py
+++ b/contrib/python/Jinja2/py2/jinja2/loaders.py
@@ -513,6 +513,6 @@ class ResourceLoader(BaseLoader):
if self.module_loader is None:
raise TemplateNotFound(template)
try:
- return self.module_loader.get_data(os.path.join(self.prefix, template)).decode('utf-8'), None, None
+ return self.module_loader.get_data(os.path.join(self.prefix, template)).decode('utf-8'), None, None
except IOError:
raise TemplateNotFound(template)
diff --git a/contrib/python/Jinja2/py3/jinja2/loaders.py b/contrib/python/Jinja2/py3/jinja2/loaders.py
index cc58eca221..5617839609 100644
--- a/contrib/python/Jinja2/py3/jinja2/loaders.py
+++ b/contrib/python/Jinja2/py3/jinja2/loaders.py
@@ -681,6 +681,6 @@ class ResourceLoader(BaseLoader):
if self.module_loader is None:
raise TemplateNotFound(template)
try:
- return self.module_loader.get_data(os.path.join(self.prefix, template)).decode('utf-8'), None, None
+ return self.module_loader.get_data(os.path.join(self.prefix, template)).decode('utf-8'), None, None
except IOError:
raise TemplateNotFound(template)