common/uilib.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 31 Mar 2010 12:53:24 +0200
branchstable
changeset 5108 8495d580a580
parent 4252 6c4f109c2b03
child 5421 8167de96c523
permissions -rw-r--r--
[session] try to reconnect on unexpected error in system_sql. We need this for proper reconnection of pool used by hooks or looping task doing sql queries (such as cw_cleanup_transaction)

"""pre 3.6 bw compat"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.uilib', DeprecationWarning, stacklevel=2)
from cubicweb.uilib import *