common/view.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 26 May 2009 18:22:24 +0200
branchstable
changeset 1943 fb557b616c80
parent 1132 96752791c2b6
child 1977 606923dff11b
permissions -rw-r--r--
fix exception class, simply print warning when calling register_and_replace with an unregistered view

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