caching read_pyc for controllers and models

This commit is contained in:
ilvalle
2016-09-16 16:28:20 +02:00
parent b84b47dad2
commit 897e2ab95d
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ class RestrictedError(Exception):
def compile2(code, layer):
return compile(code.rstrip(), layer, 'exec')
return compile(code, layer, 'exec')
def restricted(code, environment=None, layer='Unknown'):