added sandbox and exchageable undefined objects
--HG--
branch : trunk
diff --git a/jinja2/nodes.py b/jinja2/nodes.py
index 02eb3c0..40aae3c 100644
--- a/jinja2/nodes.py
+++ b/jinja2/nodes.py
@@ -16,7 +16,6 @@
from itertools import chain, izip
from collections import deque
from copy import copy
-from jinja2.runtime import Undefined, subscribe
_binop_to_func = {
@@ -463,7 +462,7 @@
if self.ctx != 'load':
raise Impossible()
try:
- return subscribe(self.node.as_const(), self.arg.as_const())
+ return environmen.subscribe(self.node.as_const(), self.arg.as_const())
except:
raise Impossible()