common/mixins.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 22 Apr 2010 19:37:56 +0000
branchstable
changeset 5376 2c3f14bc2590
parent 4252 6c4f109c2b03
child 5421 8167de96c523
permissions -rw-r--r--
[python2.6] don't add a name property on Thread in Python2.6 the threading.Thread class has a name attribute (used to be __name). The old code would trigger a infinite recursion.

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