aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Flask/py3/flask/scaffold.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-07-19 17:30:04 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-07-19 17:41:55 +0300
commitb48cb40b16a2a26d360ddcb809dcbf48a3843513 (patch)
tree18f7a12724bcc242294362d27d7956a38805fcee /contrib/python/Flask/py3/flask/scaffold.py
parent239a6786ba899f74fb960904a34b14e89419e852 (diff)
downloadydb-b48cb40b16a2a26d360ddcb809dcbf48a3843513.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python/Flask/py3/flask/scaffold.py')
-rw-r--r--contrib/python/Flask/py3/flask/scaffold.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/python/Flask/py3/flask/scaffold.py b/contrib/python/Flask/py3/flask/scaffold.py
index 0171239c63..a58941c01d 100644
--- a/contrib/python/Flask/py3/flask/scaffold.py
+++ b/contrib/python/Flask/py3/flask/scaffold.py
@@ -10,7 +10,7 @@ from functools import update_wrapper
from json import JSONDecoder
from json import JSONEncoder
-from jinja2 import ChoiceLoader, FileSystemLoader, ResourceLoader, PackageLoader
+from jinja2 import ChoiceLoader, FileSystemLoader, ResourceLoader
from werkzeug.exceptions import default_exceptions
from werkzeug.exceptions import HTTPException
@@ -359,7 +359,6 @@ class Scaffold:
if self.template_folder is not None:
return ChoiceLoader([
FileSystemLoader(os.path.join(self.root_path, self.template_folder)),
- PackageLoader(self.import_name, self.template_folder),
ResourceLoader(os.path.join(self._builtin_resource_prefix, self.template_folder), self.module_loader),
])
else: