Added modular DAL, updated gluon imports to new structure

This commit is contained in:
gi0baro committed 2014-09-03 12:48:03 +02:00
1 parent d73c668f2d
commit 5e5e649c28
43 files changed
+11577 -11686

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import threading
import logging
GLOBAL_LOCKER = threading.RLock()
THREAD_LOCAL = threading.local()
LOGGER = logging.getLogger("web2py.dal")
DEFAULT = lambda: None
def IDENTITY(x): return x
def OR(a,b): return a|b
def AND(a,b): return a&b