common/utils.py
author sylvain.thenault@logilab.fr
Tue, 07 Apr 2009 19:55:10 +0200
branchtls-sprint
changeset 1276 f213008fad2c
parent 1132 96752791c2b6
child 1808 aa09e20dd8c0
permissions -rw-r--r--
catch FieldNotFound instead of Exception in field_by_name, return the field if guessable

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