0

Re-did the caching layer for regionset chunk caching

This commit is contained in:
Andrew Brown
2012-03-03 23:56:38 -05:00
parent 78c173dece
commit b852e8b1e3
6 changed files with 216 additions and 41 deletions

View File

@@ -55,6 +55,7 @@ def validateRenderMode(mode):
# make sure that mode is a list of things that are all rendermode primative
if isinstance(mode, str):
# Try and find an item named "mode" in the rendermodes module
mode = mode.lower().replace("-","_")
try:
mode = getattr(rendermodes, mode)
except AttributeError: