aboutsummaryrefslogtreecommitdiffstats
path: root/mako/runtime.py
diff options
context:
space:
mode:
authorCody Taylor <codemister99@yahoo.com>2015-03-24 20:57:02 -0400
committerCody Taylor <codemister99@yahoo.com>2015-03-24 20:57:47 -0400
commit52e8c0a3deaae9017c76a17196aeac8b027b933e (patch)
tree77179e4d936cd6e6de938ef98bc1e8fc5f88c0a1 /mako/runtime.py
parentb6d0479034e4f379576caa6eb9ef3e32369c333f (diff)
downloadexternal_python_mako-52e8c0a3deaae9017c76a17196aeac8b027b933e.tar.gz
external_python_mako-52e8c0a3deaae9017c76a17196aeac8b027b933e.tar.bz2
external_python_mako-52e8c0a3deaae9017c76a17196aeac8b027b933e.zip
Add STOP_RENDERING keyword; exiting of a template.
Signed-off-by: Cody Taylor <codemister99@yahoo.com>
Diffstat (limited to 'mako/runtime.py')
-rw-r--r--mako/runtime.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mako/runtime.py b/mako/runtime.py
index 6b6a35a..870efcc 100644
--- a/mako/runtime.py
+++ b/mako/runtime.py
@@ -228,6 +228,7 @@ class Undefined(object):
return False
UNDEFINED = Undefined()
+STOP_RENDERING = ""
class LoopStack(object):
"""a stack for LoopContexts that implements the context manager protocol