Commit d26a3d9f authored by Guido van Rossum's avatar Guido van Rossum

Fix a typo in the raise statement about an unknown variable.

parent 6ef81bdb
......@@ -142,7 +142,7 @@ class DummyEngine:
elif self.globals.has_key(expr):
return self.globals[expr]
else:
raise TALESError("unknown variable: %s", expr)
raise TALESError("unknown variable: %s" % `expr`)
if type == "not":
v = self.evaluate(expr)
return not v
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment