common/mixins.py
author Stephanie Marcu <stephanie.marcu@logilab.fr>
Tue, 19 Jan 2010 10:42:47 +0100
changeset 4258 16804a4f555d
parent 4252 6c4f109c2b03
child 5421 8167de96c523
permissions -rw-r--r--
with cw 3.6 we've to specify entity's relation role
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4023
eae23c40627a drop common subpackage
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 3998
diff changeset
     1
"""pre 3.6 bw compat"""
eae23c40627a drop common subpackage
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 3998
diff changeset
     2
# pylint: disable-msg=W0614,W0401
eae23c40627a drop common subpackage
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 3998
diff changeset
     3
from warnings import warn
eae23c40627a drop common subpackage
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 3998
diff changeset
     4
warn('moved to cubicweb.mixins', DeprecationWarning, stacklevel=2)
eae23c40627a drop common subpackage
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 3998
diff changeset
     5
from cubicweb.mixins import *