DAL imports portalocker from gluon to avoid conflict with another portalocker module
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ except (ImportError, SystemError):
|
|||||||
def web2py_uuid(): return str(uuid.uuid4())
|
def web2py_uuid(): return str(uuid.uuid4())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import portalocker
|
from gluon import portalocker
|
||||||
have_portalocker = True
|
have_portalocker = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
portalocker = None
|
portalocker = None
|
||||||
|
|||||||
Reference in New Issue
Block a user