summaryrefslogtreecommitdiff
path: root/src/jinja/compiler.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-26 21:12:52 -0800
committerDavid Lord <davidism@gmail.com>2020-01-26 21:12:52 -0800
commit4a59ac9514d2ec3cfd8a38780ce81a250e31b692 (patch)
treefbf137fd6a5c333ced32436e33b614b1fb722a93 /src/jinja/compiler.py
parent4ec93a454b9b0a95f3772d56ebdac25702268f68 (diff)
downloadjinja2-4a59ac9514d2ec3cfd8a38780ce81a250e31b692.tar.gz
Revert "rename imports to jinja"
This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef.
Diffstat (limited to 'src/jinja/compiler.py')
-rw-r--r--src/jinja/compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jinja/compiler.py b/src/jinja/compiler.py
index 88b4988..32dac88 100644
--- a/src/jinja/compiler.py
+++ b/src/jinja/compiler.py
@@ -715,11 +715,11 @@ class CodeGenerator(NodeVisitor):
from .runtime import __all__ as exported
self.writeline("from __future__ import %s" % ", ".join(code_features))
- self.writeline("from jinja.runtime import " + ", ".join(exported))
+ self.writeline("from jinja2.runtime import " + ", ".join(exported))
if self.environment.is_async:
self.writeline(
- "from jinja.asyncsupport import auto_await, "
+ "from jinja2.asyncsupport import auto_await, "
"auto_aiter, AsyncLoopContext"
)