common/utils.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 02 Feb 2010 10:59:44 +0100
branchstable
changeset 4424 5a5cd7591706
parent 4212 ab6573088b4a
permissions -rw-r--r--
fix spurious http cache bug: sometimes last-modified headers is generated using non-english local, which ends up in a date that twisted can't parse and make it feels the page may be cached while it may not

"""pre 3.2 bw compat

:organization: Logilab
:copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.utils', DeprecationWarning, stacklevel=2)
from cubicweb.utils import *