Added modular DAL, updated gluon imports to new structure
This commit is contained in:
1 parent
d73c668f2d
commit
5e5e649c28
43 files changed
+11577
-11686
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user