common/utils.py
author Florent <florent@secondweb.fr>
Wed, 29 Apr 2009 10:11:53 +0200
branchtls-sprint
changeset 1542 2965fcfaeca1
parent 1132 96752791c2b6
child 1808 aa09e20dd8c0
permissions -rw-r--r--
fix wrong import and deprecation messages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1132
96752791c2b6 pylint cleanup
sylvain.thenault@logilab.fr
parents: 936
diff changeset
     1
"""pre 3.2 bw compat"""
96752791c2b6 pylint cleanup
sylvain.thenault@logilab.fr
parents: 936
diff changeset
     2
# pylint: disable-msg=W0614,W0401
936
f54938ba6c60 missing bw compat module
sylvain.thenault@logilab.fr
parents:
diff changeset
     3
from warnings import warn
f54938ba6c60 missing bw compat module
sylvain.thenault@logilab.fr
parents:
diff changeset
     4
warn('moved to cubicweb.utils', DeprecationWarning, stacklevel=2)
f54938ba6c60 missing bw compat module
sylvain.thenault@logilab.fr
parents:
diff changeset
     5
from cubicweb.utils import *