# HG changeset patch # User Sylvain Thénault # Date 1260261907 -3600 # Node ID d4d4e7112ccf6ecea4d4860ab2d686bc1b458534 # Parent a5b4d4f2a1c7acf5a2f157617e633ee1204cc491 remove old bw (pre 3.2) compat modules diff -r a5b4d4f2a1c7 -r d4d4e7112ccf common/appobject.py --- a/common/appobject.py Tue Dec 08 09:41:06 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -"""pre 3.2 bw compat - -:organization: Logilab -:copyright: 2001-2009 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.appobject', DeprecationWarning, stacklevel=2) -from cubicweb.appobject import * diff -r a5b4d4f2a1c7 -r d4d4e7112ccf common/entity.py --- a/common/entity.py Tue Dec 08 09:41:06 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -"""pre 3.2 bw compat - -:organization: Logilab -:copyright: 2001-2009 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.entity', DeprecationWarning, stacklevel=2) -from cubicweb.entity import * -from cubicweb.entity import _marker diff -r a5b4d4f2a1c7 -r d4d4e7112ccf common/schema.py --- a/common/schema.py Tue Dec 08 09:41:06 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -"""pre 3.0 bw compat - -:organization: Logilab -:copyright: 2001-2009 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.schema', DeprecationWarning, stacklevel=2) -from cubicweb.schema import * diff -r a5b4d4f2a1c7 -r d4d4e7112ccf common/selectors.py --- a/common/selectors.py Tue Dec 08 09:41:06 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -"""pre 3.2 bw compat - -:organization: Logilab -:copyright: 2001-2009 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.selectors', DeprecationWarning, stacklevel=2) -from cubicweb.selectors import * -from cubicweb.selectors import _rql_condition diff -r a5b4d4f2a1c7 -r d4d4e7112ccf common/utils.py --- a/common/utils.py Tue Dec 08 09:41:06 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -"""pre 3.2 bw compat - -:organization: Logilab -:copyright: 2001-2009 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 * diff -r a5b4d4f2a1c7 -r d4d4e7112ccf common/view.py --- a/common/view.py Tue Dec 08 09:41:06 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -"""pre 3.2 bw compat - -:organization: Logilab -:copyright: 2001-2009 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.view', DeprecationWarning, stacklevel=2) -from cubicweb.view import *