summaryrefslogtreecommitdiff
path: root/src/jinja/compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jinja/compiler.py')
-rw-r--r--src/jinja/compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jinja/compiler.py b/src/jinja/compiler.py
index f52d788..88b4988 100644
--- a/src/jinja/compiler.py
+++ b/src/jinja/compiler.py
@@ -712,7 +712,7 @@ class CodeGenerator(NodeVisitor):
assert frame is None, "no root frame allowed"
eval_ctx = EvalContext(self.environment, self.name)
- from .runtime import exported
+ from .runtime import __all__ as exported
self.writeline("from __future__ import %s" % ", ".join(code_features))
self.writeline("from jinja.runtime import " + ", ".join(exported))