Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: cms/bin/generate_static_pages.py

Issue 29327966: Issue 3084 - [cms] Show full tracebacks for exceptions passing template code (Closed)
Patch Set: Pass through filename and use execfile() when loading filters/globals Created Sept. 16, 2015, 11:16 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cms/converters.py » ('j') | cms/converters.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cms/bin/generate_static_pages.py
===================================================================
--- a/cms/bin/generate_static_pages.py
+++ b/cms/bin/generate_static_pages.py
@@ -71,7 +71,7 @@
source.read_template = memoize(source.read_template)
source.read_locale = memoize(source.read_locale)
source.read_include = memoize(source.read_include)
- source.import_symbol = memoize(source.import_symbol)
+ source.exec_file = memoize(source.exec_file)
config = source.read_config()
defaultlocale = config.get("general", "defaultlocale")
« no previous file with comments | « no previous file | cms/converters.py » ('j') | cms/converters.py » ('J')

Powered by Google App Engine
This is Rietveld