SP/web2py/gluon/packages/dal/pydal/_load.py

16 lines
393 B
Python
Raw Permalink Normal View History

2018-10-25 15:33:07 +00:00
# -*- coding: utf-8 -*-
# load modules with contrib fallback
try:
from collections import OrderedDict
except:
from .contrib.ordereddict import OrderedDict
from .contrib import portalocker
# TODO: uncomment the lines below when contrib/portalocker will be
# inline with the one shipped with pip
#try:
# import portalocker
#except ImportError:
# from .contrib import portalocker